| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Menu Automated (non-robot) Tests</title> |
| 5 | |
| 6 | <script type="text/javascript" src="boilerplate.js"></script> |
| 7 | |
| 8 | <script type="text/javascript"> |
| 9 | require([ |
| 10 | "doh/runner", |
| 11 | "dijit/InlineEditBox", |
| 12 | "dijit/registry", |
| 13 | "dojo/parser", |
| 14 | "dojo/domReady!" |
| 15 | ], function(doh, InlineEditBox, registry, parser){ |
| 16 | |
| 17 | doh.register("parse", function parse(){ |
| 18 | return parser.parse(); |
| 19 | }); |
| 20 | |
| 21 | doh.register("password", [ |
| 22 | function charsAreHidden() { |
| 23 | var password = registry.byId('password'), |
| 24 | notExpected = "password"; |
| 25 | |
| 26 | password.set("value", notExpected); |
| 27 | |
| 28 | doh.isNot(notExpected, password.displayNode.innerHTML); |
| 29 | } |
| 30 | ]); |
| 31 | |
| 32 | doh.run(); |
| 33 | }); |
| 34 | </script> |
| 35 | </head> |
| 36 | <body class="claro"> |
| 37 | <h1 class="testTitle">Menu Automated (non-robot) tests</h1> |
| 38 | <input id="password" data-dojo-type="dijit/InlineEditBox" |
| 39 | type="password" |
| 40 | > |
| 41 | |
| 42 | </div> |
| 43 | </body> |
| 44 | </html> |