synpress
synpress copied to clipboard
Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.
hi guys. thanks for such a great job! I'm working on an NFT marketplace project and I need to write some E2E tests for different parts of the application. So,...
Depending on the system configuration, `await fetch('http://localhost:9222/json/version');` may not work (specifically on macOS). A working alternative is using the address `0.0.0.0`. If you're happy with this I can whip a...
I'm trying to run my tests inside of GitHub Actions on an ubuntu-latest runner. When I get to `cy.confirmMetamaskSignatureRequest()`, the call just times out with: ``` cy.task('confirmMetamaskSignatureRequest') failed with the...
Hello, First, congrats for this great project. By trying to increase puppeteer's timeout for confirming transactions, I found what seems like a type error in file `/commands/puppeteer.js` line 101: https://github.com/Synthetixio/synpress/blob/debf2c6b635bb40bfc822165707ee1b8c8224c3b/commands/puppeteer.js#L101...
Hi, whenever I try to use the cy.clock() function, metamask seems to stop working. My react site will not recognise that metmask is connected ot react to anything related to...
Recently came across this project when trying to see how best to test Dapps. I think it will be invaluable for the community, maybe to help support the development of...
Hi, I am looking to set up custom tasks to execute server-side functions before my tests (such as reset and seed database). I tried adding custom plugins as suggested in...
In my tests i want to import code from other package that is using Node js, because of that i need to add fallbacks to webpack config. I'm using cypress...
### Discussed in https://github.com/Synthetixio/synpress/discussions/324 Originally posted by **saur-bh** February 7, 2022 After investigation found that selector needs to be corrected in @synthetixio/synpress/pages/metamask/notification-page.js as {code} const confirmSignatureRequestButton = `${notificationPage} .signature-request-footer :last-child`;...
task.(confirmMetamaskPermissionToSpend) CypressError cy.task('confirmMetamaskPermissionToSpend') failed with the following error: > Cannot read property 'waitForTimeout' of undefined The call to approve permission for spend of coins works - invokes the metamask popup...