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

Commit

Permalink
Merge pull request #11186 from luixxiul/fix-custom-adblock-resource-t…
Browse files Browse the repository at this point in the history
…ests

Fix 'blocks custom adblock resources' tests
  • Loading branch information
bsclifton committed Sep 27, 2017
1 parent 9827b45 commit 9a5f3b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/bravery-components/braveryPanelTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ describe('Bravery Panel', function () {
.tabByIndex(0)
.loadUrl(aboutAdblockURL)
.waitForVisible(customFiltersInput)
.click(customFiltersInput)
.setValue(customFiltersInput, '')
.waitForInputText(customFiltersInput, '')
.typeText(customFiltersInput, 'testblock.brave.com')
.windowByUrl(Brave.browserWindowUrl)
.waitUntil(function () {
Expand Down Expand Up @@ -368,7 +369,8 @@ describe('Bravery Panel', function () {
.loadUrl(aboutAdblockURL)
.url(aboutAdblockURL)
.waitForVisible(customFiltersInput)
.click(customFiltersInput)
.setValue(customFiltersInput, '')
.waitForInputText(customFiltersInput, '')
.typeText(customFiltersInput, 'testblock.brave.com')
.windowByUrl(Brave.browserWindowUrl)
.waitUntil(function () {
Expand Down

0 comments on commit 9a5f3b3

Please sign in to comment.