diff options
Diffstat (limited to 'src/ng/directive/ngStyle.js')
| -rw-r--r-- | src/ng/directive/ngStyle.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ng/directive/ngStyle.js b/src/ng/directive/ngStyle.js index 1722ca77..3a627f8f 100644 --- a/src/ng/directive/ngStyle.js +++ b/src/ng/directive/ngStyle.js @@ -27,14 +27,14 @@ color: black; } </file> - <file name="protractorTest.js"> - var colorSpan = element(by.css('.doc-example-live span')); + <file name="protractor.js" type="protractor"> + var colorSpan = element(by.css('span')); it('should check ng-style', function() { expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)'); - element(by.css('.doc-example-live input[value=set]')).click(); + element(by.css('input[value=set]')).click(); expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)'); - element(by.css('.doc-example-live input[value=clear]')).click(); + element(by.css('input[value=clear]')).click(); expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)'); }); </file> |
