diff options
Diffstat (limited to 'scenario')
| -rw-r--r-- | scenario/cross-site-post/People.json | 4 | ||||
| -rw-r--r-- | scenario/cross-site-post/index.html | 10 | ||||
| -rw-r--r-- | scenario/widgets-scenarios.old | 49 |
3 files changed, 0 insertions, 63 deletions
diff --git a/scenario/cross-site-post/People.json b/scenario/cross-site-post/People.json deleted file mode 100644 index de51fd83..00000000 --- a/scenario/cross-site-post/People.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - { name: 'Misko', favorite: ['water melon', 'persimmon', 'passion fruit'] }, - { name: 'Lenka', favorite: ['strawberry'] } -] diff --git a/scenario/cross-site-post/index.html b/scenario/cross-site-post/index.html deleted file mode 100644 index d7a87d3b..00000000 --- a/scenario/cross-site-post/index.html +++ /dev/null @@ -1,10 +0,0 @@ - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <script type="text/javascript" src="../../src/angular-bootstrap.js#autobind"></script> - </head> - <body ng:init="$window.$scope = this; People = $resource('People.json')"> - <button ng:click="people = People.query()">Load People</button> - <pre>people = {{people}}</pre> - </body> - </html> diff --git a/scenario/widgets-scenarios.old b/scenario/widgets-scenarios.old deleted file mode 100644 index a1e6c0ed..00000000 --- a/scenario/widgets-scenarios.old +++ /dev/null @@ -1,49 +0,0 @@ -angular.scenarioDef.widgets = { - $before:[ - {Given:"browser", at:"widgets.html"} - ], - checkWidgetBinding:[ - {Then:"text", at:"{{text.basic}}", should_be:""}, - {When:"enter", text:"John", at:":input[name=text.basic]"}, - {Then:"text", at:"{{text.basic}}", should_be:"John"}, - - {Then:"text", at:"{{gender}}", should_be:"male"}, - {When:"click", at:"input:radio[value=female]"}, - {Then:"text", at:"{{gender}}", should_be:"female"}, - - {Then:"text", at:"{{tea}}", should_be:"on"}, - {When:"click", at:"input[name=tea]"}, - {Then:"text", at:"{{tea}}", should_be:""}, - - {Then:"text", at:"{{coffee}}", should_be:""}, - {When:"click", at:"input[name=coffee]"}, - {Then:"text", at:"{{coffee}}", should_be:"on"}, - - {Then:"text", at:"{{count}}", should_be:0}, - {When:"click", at:"form :button"}, - {When:"click", at:"form :submit"}, - {When:"click", at:"form :image"}, - {Then:"text", at:"{{count}}", should_be:3}, - - {Then:"text", at:"{{select}}", should_be:"A"}, - {When:"select", at:"select[name=select]", option:"B"}, - {Then:"text", at:"{{select}}", should_be:"B"}, - - {Then:"text", at:"{{multiple}}", should_be:"[]"}, - {When:"select", at:"select[name=multiple]", option:"A"}, - {Then:"text", at:"{{multiple}}", should_be:["A"]}, - {When:"select", at:"select[name=multiple]", option:"B"}, - {Then:"text", at:"{{multiple}}", should_be:["A", "B"]}, - {When:"select", at:"select[name=multiple]", option:"A"}, - {Then:"text", at:"{{multiple}}", should_be:["B"]}, - - {Then:"text", at:"{{hidden}}", should_be:"hiddenValue"}, - - {Then:"text", at:"{{password}}", should_be:"passwordValue"}, - {When:"enter", text:"reset", at:":input[name=password]"}, - {Then:"text", at:"{{password}}", should_be:"reset"}, - ], - checkNewWidgetEmpty:[ - {Then:"text", at:"{{name}}", should_be:""}, - ] -}; |
