diff options
| author | Julie | 2014-02-12 15:07:08 -0800 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:42 +0000 |
| commit | 9565cca15b6d30aefb78bcec411dea4f7b305019 (patch) | |
| tree | 1c0d58d7541b7d6fb96fb1d1d068d48eb0fca97a /src/ng/directive/ngShowHide.js | |
| parent | cd508678cd9baffd2bc0c9e11ae724a7b2ff70bb (diff) | |
| download | angular.js-9565cca15b6d30aefb78bcec411dea4f7b305019.tar.bz2 | |
chore(protractor tests): fix up e2e tests
Diffstat (limited to 'src/ng/directive/ngShowHide.js')
| -rw-r--r-- | src/ng/directive/ngShowHide.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js index a6b47b9c..c22708c5 100644 --- a/src/ng/directive/ngShowHide.js +++ b/src/ng/directive/ngShowHide.js @@ -132,9 +132,9 @@ background:white; } </file> - <file name="protractorTest.js"> - var thumbsUp = element(by.css('.doc-example-live span.icon-thumbs-up')); - var thumbsDown = element(by.css('.doc-example-live span.icon-thumbs-down')); + <file name="protractor.js" type="protractor"> + var thumbsUp = element(by.css('span.icon-thumbs-up')); + var thumbsDown = element(by.css('span.icon-thumbs-down')); it('should check ng-show / ng-hide', function() { expect(thumbsUp.isDisplayed()).toBeFalsy(); @@ -289,9 +289,9 @@ var ngShowDirective = ['$animate', function($animate) { background:white; } </file> - <file name="protractorTest.js"> - var thumbsUp = element(by.css('.doc-example-live span.icon-thumbs-up')); - var thumbsDown = element(by.css('.doc-example-live span.icon-thumbs-down')); + <file name="protractor.js" type="protractor"> + var thumbsUp = element(by.css('span.icon-thumbs-up')); + var thumbsDown = element(by.css('span.icon-thumbs-down')); it('should check ng-show / ng-hide', function() { expect(thumbsUp.isDisplayed()).toBeFalsy(); |
