Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(scenario): dev secenario tests
Browse files Browse the repository at this point in the history
closes #843

Fixed failed e2e test
  • Loading branch information
mkotsur authored and mhevery committed Apr 2, 2012
1 parent c0b7847 commit 59ae8ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/ngScenario/e2e/widgets.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!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">
<head ng-app>
<html xmlns:ng="http://angularjs.org" ng-app>
<head>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script type="text/javascript" src="../../../src/angular-bootstrap.js"></script>
</head>
Expand All @@ -26,22 +26,22 @@
</tr>
<tr>
<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>
</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>
<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>gender={{gender}}</td>
</tr>
<tr>
<td>checkbox</td>
<td>
<input type="checkbox" ng-model="checkbox.tea" checked value="on"/> Tea<br/>
<td ng-init="checkbox={'tea': true, 'coffee': false}">
<input type="checkbox" ng-model="checkbox.tea" value="on"/> Tea<br/>
<input type="checkbox" ng-model="checkbox.coffee" value="on"/> Coffe
</td>
<td>
Expand Down Expand Up @@ -75,10 +75,10 @@
<td>ng-change<br/>ng-click</td>
<td ng-init="button.count = 0; form.count = 0;">
<form ng-submit="form.count = form.count + 1">
<input type="button" value="button" ng-change="button.count = button.count + 1"/> <br/>
<input type="submit" value="submit input" 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-click="button.count = button.count + 1"/><br/>
<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>
</form>
</td>
Expand Down

0 comments on commit 59ae8ad

Please sign in to comment.