fix(scenario): dev secenario tests

closes #843

Fixed failed e2e test
This commit is contained in:
Mykhailo Kotsur 2012-04-01 18:08:44 +02:00 committed by Misko Hevery
parent c0b78478a0
commit 59ae8adb3c

View file

@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:ng="http://angularjs.org"> <html xmlns:ng="http://angularjs.org" ng-app>
<head ng-app> <head>
<link rel="stylesheet" type="text/css" href="style.css"/> <link rel="stylesheet" type="text/css" href="style.css"/>
<script type="text/javascript" src="../../../src/angular-bootstrap.js"></script> <script type="text/javascript" src="../../../src/angular-bootstrap.js"></script>
</head> </head>
@ -26,22 +26,22 @@
</tr> </tr>
<tr> <tr>
<td>hidden</td> <td>hidden</td>
<td><input type="hidden" ng-model="text.hidden" value="hiddenValue" /></td> <td><input type="hidden" ng-model="text.hidden" ng-init="text.hidden='hiddenValue'" /></td>
<td>text.hidden={{text.hidden}}</td> <td>text.hidden={{text.hidden}}</td>
</tr> </tr>
<tr><th colspan="3">Input selection field</th></tr> <tr><th colspan="3">Input selection field</th></tr>
<tr id="gender-box"> <tr id="gender-box" ng-init="gender='male'">
<td>radio</td> <td>radio</td>
<td> <td>
<input type="radio" ng-model="gender" value="female"/> Female <br/> <input type="radio" ng-model="gender" value="female"/> Female <br/>
<input type="radio" ng-model="gender" value="male" checked="checked"/> Male <input type="radio" ng-model="gender" value="male"/> Male
</td> </td>
<td>gender={{gender}}</td> <td>gender={{gender}}</td>
</tr> </tr>
<tr> <tr>
<td>checkbox</td> <td>checkbox</td>
<td> <td ng-init="checkbox={'tea': true, 'coffee': false}">
<input type="checkbox" ng-model="checkbox.tea" checked value="on"/> Tea<br/> <input type="checkbox" ng-model="checkbox.tea" value="on"/> Tea<br/>
<input type="checkbox" ng-model="checkbox.coffee" value="on"/> Coffe <input type="checkbox" ng-model="checkbox.coffee" value="on"/> Coffe
</td> </td>
<td> <td>
@ -75,10 +75,10 @@
<td>ng-change<br/>ng-click</td> <td>ng-change<br/>ng-click</td>
<td ng-init="button.count = 0; form.count = 0;"> <td ng-init="button.count = 0; form.count = 0;">
<form ng-submit="form.count = form.count + 1"> <form ng-submit="form.count = form.count + 1">
<input type="button" value="button" ng-change="button.count = button.count + 1"/> <br/> <input type="button" value="button" ng-click="button.count = button.count + 1"/> <br/>
<input type="submit" value="submit input" ng-change="button.count = button.count + 1"/><br/> <input type="submit" value="submit input" ng-click="button.count = button.count + 1"/><br/>
<button type="submit">submit button</button> <button type="submit">submit button</button>
<input type="image" src="" ng-change="button.count = button.count + 1"/><br/> <input type="image" src="" ng-click="button.count = button.count + 1"/><br/>
<a href="" ng-click="button.count = button.count + 1">action</a> <a href="" ng-click="button.count = button.count + 1">action</a>
</form> </form>
</td> </td>