Skip to content

Commit

Permalink
fix app test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jun 13, 2016
1 parent a42aed9 commit 1edf657
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/app/app/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h3 class="modal-title">Create</h3>
</div>
<div class="form-group">
<label for="user">User:</label>
<input type="text" id="user" ng-model="selectedUser" placeholder="User-name" uib-typeahead="user as user.name for user in getUsers($viewValue)" typeahead-on-select="app.userId = $item.id" typeahead-select-on-blur="true" typeahead-min-length="3" aria-describedby="userHelp" class="form-control">
<input type="text" id="user" ng-model="selectedUser" placeholder="User-name" uib-typeahead="user as user.name for user in getUsers($viewValue)" typeahead-on-select="app.userId = $item.id" typeahead-min-length="3" aria-describedby="userHelp" class="form-control">
<span class="help-block" id="userHelp">The user which is assigned to the application</span>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion public/app/app/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3 class="modal-title">Update</h3>
</div>
<div class="form-group">
<label for="appSecret">App-Secret:</label>
<input type="text" id="appKey" ng-model="app.appSecret" class="form-control" readonly="readonly">
<input type="text" id="appSecret" ng-model="app.appSecret" class="form-control" readonly="readonly">
</div>
<uib-tabset>
<uib-tab heading="Scopes">
Expand Down
2 changes: 1 addition & 1 deletion public/tests/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('App tests', function() {

browser.wait(EC.visibilityOf($('div.modal-body')), 5000);

expect(element(by.model('app.status')).getAttribute('value')).toEqual('0');
expect(element(by.model('app.status')).getAttribute('value')).toEqual('number:1');
expect(element(by.model('app.name')).getAttribute('value')).toEqual('test-app');
expect(element(by.model('app.url')).getAttribute('value')).toEqual('http://foo.com');
expect(element(by.model('app.parameters')).getAttribute('value')).toEqual('foo=bar&bar=1');
Expand Down

0 comments on commit 1edf657

Please sign in to comment.