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 b2a558f commit 8e63406Copy full SHA for 8e63406
test/steps/LoginWindow.js
@@ -30,11 +30,19 @@ export class LoginWindow {
30
await this._targetPage.click('button.btn-primary');
31
}
32
33
+ async confirmEmergencyAddress() {
34
+ await this._targetPage.waitForFunction(
35
+ 'document.querySelector("body").innerText.includes("Confirm");'
36
+ );
37
+ await this._targetPage.click('button.btn-primary');
38
+ }
39
+
40
async authorize() {
41
await this._targetPage.waitForFunction(
42
'document.querySelector("body").innerText.includes("Access Request");'
43
);
44
- await this.submitEmergencyAddress();
45
+ await this._targetPage.waitFor(200);
46
+ await this.confirmEmergencyAddress();
47
48
0 commit comments