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

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
auditors @bbondy @darkdh
  • Loading branch information
bridiver committed May 16, 2017
1 parent a74725d commit a34acee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/bravery-components/clearBrowsingDataPanelTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const {getTargetAboutUrl} = require('../../js/lib/appUrlUtil')
const aboutPreferencesUrl = getTargetAboutUrl('about:preferences')
const {getHistory} = require('../../app/common/lib/historyUtil')
const messages = require('../../js/constants/messages')
const siteSettingsList = require('../../js/data/siteSettingsList')

describe('Clear Browsing Panel', function () {
function * setup (client) {
Expand Down Expand Up @@ -191,7 +192,7 @@ describe('Clear Browsing Panel', function () {
.click(noScriptSwitch)
.waitUntil(function () {
return this.getAppState().then((val) => {
return Object.keys(val.value.siteSettings).length === 2
return Object.keys(val.value.siteSettings).length === (2 + siteSettingsList.defaultSiteSettingsList.length)
})
})
})
Expand Down

1 comment on commit a34acee

@darkdh
Copy link
Member

@darkdh darkdh commented on a34acee May 16, 2017

Choose a reason for hiding this comment

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

++, sorry for missing this

Please sign in to comment.