We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1680c commit 62d705eCopy full SHA for 62d705e
test/helper/WebDriver_test.js
@@ -52,6 +52,7 @@ describe('WebDriver', function () {
52
beforeEach(async () => {
53
webApiTests.init({ I: wd, siteUrl })
54
this.wdBrowser = await wd._before()
55
+ this.wdBrowser.on('dialog', dialog => {})
56
return this.wdBrowser
57
})
58
@@ -717,9 +718,7 @@ describe('WebDriver', function () {
717
718
it('should check text in popup', () => {
719
return wd
720
.amOnPage('/form/popup')
- .then(() => wd.waitForText('Alert', 5))
721
.then(() => wd.click('Alert'))
722
- .then(() => wd.waitForText('Really?', 5))
723
.then(() => wd.seeInPopup('Really?'))
724
.then(() => wd.cancelPopup())
725
0 commit comments