Skip to content

Commit

Permalink
fix test selector
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jun 2, 2016
1 parent b8a2afa commit 546e319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/tests/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ describe('App tests', function() {
statusOptions.get(0).click();

element(by.id('user')).sendKeys('Develop');
browser.wait(EC.visibilityOf($('.dropdown-menu[typeahead-popup]')), 5000);
element.all(by.css('.dropdown-menu[typeahead-popup] li a')).first().click();
browser.wait(EC.visibilityOf($('.dropdown-menu')), 5000);
element.all(by.css('.dropdown-menu li a')).first().click();

element(by.model('app.name')).sendKeys('test-app');
element(by.model('app.url')).sendKeys('http://foo.com');
Expand Down

0 comments on commit 546e319

Please sign in to comment.