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

Commit 99232c4

Browse files
committed
Merge pull request #9739 from brave/autoplay-test-fix
Fix autoplay test
1 parent e29680f commit 99232c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/bravery-components/notificationBarTest.js

+5
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ describe('Autoplay test', function () {
287287
})
288288
})
289289
.windowByUrl(Brave.browserWindowUrl)
290+
.activateURLMode()
290291
.click(reloadButton)
291292
.tabByUrl(url)
292293
.waitUntil(function () {
@@ -308,6 +309,7 @@ describe('Autoplay test', function () {
308309
})
309310
.windowByUrl(Brave.browserWindowUrl)
310311
.closeTabByIndex(0)
312+
.activateURLMode()
311313
.click(reloadButton)
312314
.waitForExist(notificationBar)
313315
.waitUntil(function () {
@@ -341,6 +343,7 @@ describe('Autoplay test', function () {
341343
})
342344
})
343345
.windowByUrl(Brave.browserWindowUrl)
346+
.activateURLMode()
344347
.click(reloadButton)
345348
.tabByUrl(url)
346349
.waitUntil(function () {
@@ -362,6 +365,7 @@ describe('Autoplay test', function () {
362365
})
363366
.windowByUrl(Brave.browserWindowUrl)
364367
.closeTabByIndex(0)
368+
.activateURLMode()
365369
.click(reloadButton)
366370
.tabByUrl(url)
367371
.waitUntil(function () {
@@ -390,6 +394,7 @@ describe('Autoplay test', function () {
390394
})
391395
.click('button=No')
392396
.windowByUrl(Brave.browserWindowUrl)
397+
.activateURLMode()
393398
.click(reloadButton)
394399
.tabByUrl(url)
395400
.waitUntil(function () {

0 commit comments

Comments
 (0)