You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
💡 Are you able to provide enough information to be able to reproduce your issue locally?
I can provide enough details to reproduce my issue on local environment.
Synpress version
3.7.3
Node.js version
16.16.0
Operating system
Windows 11
Run mode
Synpress (standalone)
CI platform (if applicable)
No response
Are you running your tests inside docker? (if applicable)
This issue could be related to docker.
What happened?
I used to have an automation test which used confirmMetamaskTransaction() from the library @synthetixio/synpress. Everything was fine, but after the last update 6 days ago, the test constantly fails despite the transaction being successful. Transaction last more than 40s. and Cypress stoping after 30000ms
"The reason is a CypressError: cy.task('confirmMetamaskTransaction') failed with the following error: page.waitForSelector: Timeout 30000ms exceeded.
I'm trying almost everything I know:
Setting up the timeout in synpress.config to 90000ms.
Adding a task with a timeout inside it: cy.task('confirmMetamaskTransaction', { timeout: 90000 }).than
Adding .should('not.exist') to the task.
I`m using Node v16.16.0, Chrome extension MetaMask 11.15.0, @synthetixio/synpress 3.7.3. Running in --headless mode as well as e2e browser mode and Docker environment, the result is the same.
What is your expected behavior?
I expect a successful transaction and the test to continue running, as it worked before.
How to reproduce the bug.
synpress run --noExit --configFile synpress.config.js --spec tests/e2e/specs/proposals.js
login into MetaMask using cy.signInWithMetamask();
ZenoviyShulba
changed the title
[🐛 Bug]: <title>Timeout 30000ms. while running cy.confirmMetamaskTransaction() method after latest update
[🐛 Bug]: Timeout 30000ms. while running cy.confirmMetamaskTransaction() method after latest update
Jun 4, 2024
🔎 Have you searched existing issues to avoid duplicates?
🧪 Have you tested your code using latest version of Synpress?
💡 Are you able to provide enough information to be able to reproduce your issue locally?
Synpress version
3.7.3
Node.js version
16.16.0
Operating system
Windows 11
Run mode
Synpress (standalone)
CI platform (if applicable)
No response
Are you running your tests inside docker? (if applicable)
What happened?
I used to have an automation test which used confirmMetamaskTransaction() from the library @synthetixio/synpress. Everything was fine, but after the last update 6 days ago, the test constantly fails despite the transaction being successful. Transaction last more than 40s. and Cypress stoping after 30000ms
"The reason is a CypressError: cy.task('confirmMetamaskTransaction') failed with the following error: page.waitForSelector: Timeout 30000ms exceeded.
I'm trying almost everything I know:
Setting up the timeout in synpress.config to 90000ms.
Adding a task with a timeout inside it: cy.task('confirmMetamaskTransaction', { timeout: 90000 }).than
Adding .should('not.exist') to the task.
I`m using Node v16.16.0, Chrome extension MetaMask 11.15.0, @synthetixio/synpress 3.7.3. Running in --headless mode as well as e2e browser mode and Docker environment, the result is the same.
What is your expected behavior?
I expect a successful transaction and the test to continue running, as it worked before.
How to reproduce the bug.
synpress run --noExit --configFile synpress.config.js --spec tests/e2e/specs/proposals.js
Relevant log output
The text was updated successfully, but these errors were encountered: