Skip to content

Commit

Permalink
Navbar test fix
Browse files Browse the repository at this point in the history
Resolves brave#7950

Auditors: @bsclifton

Test Plan:
- `npm run test -- --grep="navigationBar tests"`
  • Loading branch information
NejcZdovc committed Apr 5, 2017
1 parent 07a4990 commit 69b4367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/navbar-components/navigationBarTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -865,11 +865,10 @@ describe('navigationBar tests', function () {

it('sets location to new URL', function * () {
const page2 = this.page2
yield this.app.client.keys(this.page2)
yield this.app.client.keys(Brave.keys.ENTER)
yield this.app.client.keys([this.page2, Brave.keys.ENTER])
yield this.app.client
.waitUntil(function () {
return this.windowByUrl(Brave.browserWindowUrl).getValue(urlInput).then((val) => {
return this.getValue(urlInput).then((val) => {
return val === page2
})
})
Expand Down Expand Up @@ -1247,6 +1246,7 @@ describe('navigationBar tests', function () {
.waitForBookmarkDetail(page2Url, 'Page 2')
.waitForEnabled(doneButton)
.click(doneButton)
.activateURLMode()
.waitForExist(navigatorBookmarked)
.waitForElementCount(bookmarksToolbar, 0)
})
Expand Down

1 comment on commit 69b4367

@bsclifton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.