mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Add little pause waiting for popup to open
This commit is contained in:
1 parent
975fe550e0
commit
53b1104cf8
1 file changed
+4
@@ -26,6 +26,10 @@ module.exports = {
|
||||
.waitForElementVisible('@signInButton')
|
||||
.click('@signInButton');
|
||||
|
||||
// Wait for window to be created
|
||||
// https://www.browserstack.com/automate/builds/1ceccf4efb4683b7feb890f45a32b5922b40ed3f/sessions/17b1a79682bef2498cb0be86eac317a08c976b0a#automate_button
|
||||
client.pause(200);
|
||||
|
||||
// Focusing on the Login PopUp
|
||||
windowHandler.windowHandles((handles) => {
|
||||
client.switchWindow(handles[1]);
|
||||
|
||||
Reference in new issue
Block a user