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

Commit

Permalink
Revert "update battery test for 0e50ff3"
Browse files Browse the repository at this point in the history
This reverts commit 1ef3a56.
  • Loading branch information
bbondy committed Jan 27, 2017
1 parent c1b3a07 commit ba755c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/components/contentLoadingTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ describe('content loading', function () {
})
})

it('always returns 100% for battery status API', function * () {
it('does not support battery status API', function * () {
var page1 = Brave.fixtureUrl('battery.html')
yield this.app.client
.tabByIndex(0)
.url(page1)
.windowByUrl(Brave.browserWindowUrl)
.waitUntil(function () {
return this.getText('.tabTitle').then((title) => {
return title === '100%'
return title === 'fail'
})
})
})
Expand Down

0 comments on commit ba755c0

Please sign in to comment.