aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/window.js
diff options
context:
space:
mode:
authorJulie2014-01-11 16:59:15 -0800
committerCaitlin Potter2014-01-28 14:14:20 -0500
commit7aef2d54e0a48fae18a289813f699962d8310565 (patch)
tree60d1d559510c17e879aff798f298e6bcc262d3ab /src/ng/window.js
parentce37ae28687167f7b4274ba547f013980126a219 (diff)
downloadangular.js-7aef2d54e0a48fae18a289813f699962d8310565.tar.bz2
test(docs): convert example end to end doc tests from scenario runner to protractor
Thanks to jeffbcross, petebacondarwin, btford, jdeboer, tbosch for contributions! Closes #6023
Diffstat (limited to 'src/ng/window.js')
-rw-r--r--src/ng/window.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/window.js b/src/ng/window.js
index 7702f29f..4f0717af 100644
--- a/src/ng/window.js
+++ b/src/ng/window.js
@@ -31,13 +31,13 @@
<button ng-click="doGreeting(greeting)">ALERT</button>
</div>
</doc:source>
- <doc:scenario>
+ <doc:protractor>
it('should display the greeting in the input box', function() {
- input('greeting').enter('Hello, E2E Tests');
+ element(by.model('greeting')).sendKeys('Hello, E2E Tests');
// If we click the button it will block the test runner
// element(':button').click();
});
- </doc:scenario>
+ </doc:protractor>
</doc:example>
*/
function $WindowProvider(){