Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix navbar anchor test
Browse files Browse the repository at this point in the history
Auditors: @bridiver
  • Loading branch information
bbondy committed Sep 28, 2016
1 parent bebb4d6 commit f276bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/components/navigationBarTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('navigationBar', function () {
.tabByUrl(this.page)
.waitForExist('#bottom_link')
.leftClick('#bottom_link')
.windowParentByUrl(this.page + '#top')
.windowParentByUrl(this.page + '#bottom')
})

it('updates the location in the navbar', function * () {
Expand All @@ -243,7 +243,7 @@ describe('navigationBar', function () {
.moveToObject(titleBar)
.waitForExist(urlInput)
.waitUntil(function () {
return this.getValue(urlInput).then((val) => val === page + '#top')
return this.getValue(urlInput).then((val) => val === page + '#bottom')
})
})

Expand Down

0 comments on commit f276bea

Please sign in to comment.