synpress icon indicating copy to clipboard operation
synpress copied to clipboard

Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.

Results 168 synpress issues
Sort by recently updated
recently updated
newest added

Second Metamask account persist between Playwright invocations

[{"_id":"66cd9a013be607015e0912c2","body":"@drptbl Please take a view at this issue. Seems like there is something fundamentally wrong with initialSetup method when using Synpress with Playwright. I am getting an issue when trying to switchNetwork in each test. I am using polygon network in initialSetup method, I have 4 tests running in the same spec file, for 1st test only it is successfully switched to polygon, for the rest of the tests it doesn't work and remains on ethereum mainnet network, calling getNetwork in the failing tests shows the current network is polygon.\r\n\r\nCommenting my issue here, because seems like the root cause is the same.\r\n\r\nPlease note, I have tried using changeNetwork in each test, and several other methods, but everything fails, this makes synpress integration with Playwright useless. Please, at least provide a workaround until the issue is fixed.","issue_id":1709757859975,"origin_id":1651839654,"user_origin_id":26089894,"create_time":1690379006,"update_time":1690400072,"id":1724750337530,"updated_at":"2024-08-27T09:18:57.529000Z","created_at":"2024-08-27T09:18:57.529000Z"},{"_id":"66cd9a013be607015e0912c3","body":"@DavitMkhitaryan Thanks for reporting. Do you have any repo where I can reproduce this issue?","issue_id":1709757859975,"origin_id":1651955169,"user_origin_id":8177587,"create_time":1690382618,"update_time":1690382618,"id":1724750337533,"updated_at":"2024-08-27T09:18:57.532000Z","created_at":"2024-08-27T09:18:57.532000Z"},{"_id":"66cd9a013be607015e0912c4","body":"> @DavitMkhitaryan Thanks for reporting. Do you have any repo where I can reproduce this issue?\r\n\r\nThanks for the quick response, unfortunately I cannot share the repo as it is a corporate one, but I think it will be reproduced in any case, where you have more than one test in the same spec file. If you start any project, in the initial setup set the network to polygon, and run the tests, starting from the second one the network will not change to polygon anymore. Again, the root cause I think is connected to some metamask state not being cleared, as when I check with getNetwork for the failed tests, it says polygon, but starting from the second test the polygon is not even there.\r\n\r\n@drptbl Please let me know if you were able to reproduce it, or if you need any more information from my side. It is currently blocking my work and I am more than happy to get this fixed asap. Thanks!","issue_id":1709757859975,"origin_id":1652374320,"user_origin_id":26089894,"create_time":1690399975,"update_time":1690400180,"id":1724750337536,"updated_at":"2024-08-27T09:18:57.535000Z","created_at":"2024-08-27T09:18:57.535000Z"},{"_id":"66cd9a013be607015e0912c5","body":"@drptbl Hello, is there any update regarding this issue?\r\n\r\nThis is impossible to have more than one test in the same spec file because of this if this is the case. Again, suppose I am using \"polygon\" in my initalSetup in Playwright fixtures, for the first test in spec file it works, and for the second test it doesn't as it thinks that polygon is already there, however it isn't.\r\n\r\nAnother case, if I choose \"ethereum\" in initialSetup, and I do addNetwork(\"polygon\") at the start of each test, the first one will work, the second one will fail because it will try to change network to Polygon without importing, because for some reason it thinks Polygon is already imported, but IT IS NO THERE. Please, tell me if I am doing something wrong here, and if this is indeed an issue as I described, this is a blocking issue making Playwright + Synpress useless.\r\n\r\nAnother useful info, again, this action is working for first, third, fifth... tests, but not working for seond, fourth, sixth, tests. The polygon network is successfully added for the first and third test, but it fails for second and fourth tests... This is very strange but may help you to find the root cause. So maybe if addNetwork fails once, the next one again correctly imports the polygon network and so on...\r\n\r\nThank you.\r\n\r\n<img width=\"664\" alt=\"Screenshot 2023-08-14 at 11 34 56\" src=\"https:\/\/github.com\/Synthetixio\/synpress\/assets\/26089894\/75c6d51c-e31f-4cde-9478-17202b2416a1\">\r\n","issue_id":1709757859975,"origin_id":1676825235,"user_origin_id":26089894,"create_time":1691998587,"update_time":1691998984,"id":1724750337538,"updated_at":"2024-08-27T09:18:57.538000Z","created_at":"2024-08-27T09:18:57.538000Z"},{"_id":"66cd9a013be607015e0912c6","body":"@drptbl As @norswap wrote: \"I'm kind of wondering what kind of data is being persisted between runs and how I could clear it.\" If there is any way to do an additional step or method call to make sure the metamask data is not persisted between tests, this maybe also solve my issue for now. ","issue_id":1709757859975,"origin_id":1676863541,"user_origin_id":26089894,"create_time":1692000040,"update_time":1692000040,"id":1724750337541,"updated_at":"2024-08-27T09:18:57.540000Z","created_at":"2024-08-27T09:18:57.540000Z"},{"_id":"66cd9a013be607015e0912c7","body":"hello @DavitMkhitaryan, i think that if there would be a repository where this issue can be reproduced, it would speed up resolution of this issue.","issue_id":1709757859975,"origin_id":1676926663,"user_origin_id":81925786,"create_time":1692002667,"update_time":1692002667,"id":1724750337544,"updated_at":"2024-08-27T09:18:57.543000Z","created_at":"2024-08-27T09:18:57.543000Z"},{"_id":"66cd9a013be607015e0912c8","body":"@r3kt-eth As I said the issue is being reproduced on a corporate repository which I cannot share, but I will create a separete public repo with tests on a different SUT, and will send you the link here later today. Thanks.","issue_id":1709757859975,"origin_id":1676929295,"user_origin_id":26089894,"create_time":1692002778,"update_time":1692002778,"id":1724750337546,"updated_at":"2024-08-27T09:18:57.546000Z","created_at":"2024-08-27T09:18:57.546000Z"},{"_id":"66cd9a013be607015e0912c9","body":"@r3kt-eth @drptbl . Here I created a repo with the reproduction of the issue: https:\/\/github.com\/DavitMkhitaryan\/test-automation-playwright-synpress\r\n\r\nYou can find more details in readme. Please, check this as soon as possible and let me know if there is any workarounds or fixes to this issue. Thanks.","issue_id":1709757859975,"origin_id":1678530440,"user_origin_id":26089894,"create_time":1692084666,"update_time":1692086269,"id":1724750337550,"updated_at":"2024-08-27T09:18:57.549000Z","created_at":"2024-08-27T09:18:57.549000Z"},{"_id":"66cd9a013be607015e0912ca","body":"@r3kt-eth Please let me know if you could reproduce the issue and if there is any workaround for this right now","issue_id":1709757859975,"origin_id":1680862730,"user_origin_id":26089894,"create_time":1692200963,"update_time":1692200963,"id":1724750337552,"updated_at":"2024-08-27T09:18:57.552000Z","created_at":"2024-08-27T09:18:57.552000Z"},{"_id":"66cd9a013be607015e0912cb","body":"@DavitMkhitaryan fix has been released with `@synthetixio\/[email protected]`\r\n\r\nplease test it out and let me know if that helps\r\n\r\ntake a look at updated fixture for reference:\r\nhttps:\/\/github.com\/synpress-io\/synpress-examples\/blob\/master\/playwright\/isolated-state\/fixtures.ts\r\n\r\nin particular you need these changes:\r\nuse `await setExpectInstance(expect);` instead of `global.expect`\r\nand\r\n`await resetState();` after `await context.close()`","issue_id":1709757859975,"origin_id":1682764259,"user_origin_id":81925786,"create_time":1692296802,"update_time":1692296822,"id":1724750337556,"updated_at":"2024-08-27T09:18:57.556000Z","created_at":"2024-08-27T09:18:57.556000Z"},{"_id":"66cd9a013be607015e0912cc","body":"@r3kt-eth Thanks. Updated package to `@synthetixio\/[email protected]`, and added the await `setExpectInstance(expect);` and `await resetState();` accordingly. Issue is now fixed.","issue_id":1709757859975,"origin_id":1683360111,"user_origin_id":26089894,"create_time":1692335299,"update_time":1692335299,"id":1724750337560,"updated_at":"2024-08-27T09:18:57.559000Z","created_at":"2024-08-27T09:18:57.559000Z"},{"_id":"66cd9a013be607015e0912ce","body":"Seems the same thing happen for shared-state testing. It went well if there is only one test file (with the exact setup as [shared-state example on playwright](https:\/\/github.com\/synpress-io\/synpress-examples\/tree\/master\/playwright\/shared-state)). If there is another one, the second time of metamask setup (for the 2nd test file) constantly failed for me. Maybe we need to \"resetState\" after each test file?","issue_id":1709757859975,"origin_id":1871007001,"user_origin_id":136300487,"create_time":1703757164,"update_time":1703757164,"id":1724750337565,"updated_at":"2024-08-27T09:18:57.564000Z","created_at":"2024-08-27T09:18:57.564000Z"}] comment

I set up Metamask in my fixtures with the mnemonic `"test test test test test test test test test test test junk"`, to get the standard Anvil/Hardhat test account. Later,...

bug πŸ›

Cypress Commands adddQuery Error

[{"_id":"6639d55fb7a25c1c6117fee1","body":"Bump, this is also happening to me","issue_id":1709757860001,"origin_id":1522277329,"user_origin_id":25964487,"create_time":1682449472,"update_time":1682449472,"id":1715066207646,"updated_at":"2024-05-07T07:16:47.646000Z","created_at":"2024-05-07T07:16:47.646000Z"},{"_id":"6639d55fb7a25c1c6117fee3","body":"Take a look at this https:\/\/github.com\/testing-library\/cypress-testing-library\/pull\/238#issuecomment-1366904058.\r\nThis error happened on my side when I was importing e2e.ts file in my tests and we have a query type defined in e2e.ts. So pay attention if you import in your test file rather the type definition or anything from commands.ts, where the query is added","issue_id":1709757860001,"origin_id":1525640535,"user_origin_id":127108203,"create_time":1682599809,"update_time":1682599809,"id":1715066207665,"updated_at":"2024-05-07T07:16:47.664000Z","created_at":"2024-05-07T07:16:47.664000Z"},{"_id":"6639d55fb7a25c1c6117fee5","body":"This is happening to me also. https:\/\/github.com\/testing-library\/cypress-testing-library\/pull\/238#issuecomment-1366904058 this didn't help me unfortunately ","issue_id":1709757860001,"origin_id":1801599746,"user_origin_id":72627347,"create_time":1699440078,"update_time":1699440078,"id":1715066207733,"updated_at":"2024-05-07T07:16:47.732000Z","created_at":"2024-05-07T07:16:47.732000Z"},{"_id":"6639d55fb7a25c1c6117fee6","body":"@jmitchell-figure have you been able to fix it?","issue_id":1709757860001,"origin_id":1801629059,"user_origin_id":72627347,"create_time":1699440776,"update_time":1699440776,"id":1715066207735,"updated_at":"2024-05-07T07:16:47.735000Z","created_at":"2024-05-07T07:16:47.735000Z"},{"_id":"6639d55fb7a25c1c6117fee7","body":"> Take a look at this https:\/\/github.com\/testing-library\/cypress-testing-library\/pull\/238#issuecomment-1366904058.\r\n\r\nI had the same error and the fix was also to ensure that the file was \"run\" only once. \r\nI suggest anyone facing this issue to just add a `console.log` before adding the commands\/queries:\r\n\r\n```typescript\r\nconsole.log('Adding support commands\/queries'); \/\/ => If you see this log multiple times, the issue is likely on your end\r\nCypress.Commands.addQuery('findAllByLabelText', findAllByLabelTextFn);\r\n```\r\n\r\n","issue_id":1709757860001,"origin_id":1833357839,"user_origin_id":43757707,"create_time":1701335050,"update_time":1701335050,"id":1715066207739,"updated_at":"2024-05-07T07:16:47.738000Z","created_at":"2024-05-07T07:16:47.738000Z"}] comment

**Describe the bug** When going through the examples to setup within Cypress I am seeing the following error when trying to run any tests: `Cypress.Commands.addQuery() is used to create new...

bug πŸ›

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.4 to 2.22.7. Changelog Sourced from github/codeql-action's changelog. CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language packs. [UNRELEASED]...

dependencies
github_actions

Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.4 to 6.6.0. Release notes Sourced from cypress-io/github-action's releases. v6.6.0 6.6.0 (2023-10-31) Features add optional job summary-title parameter (#1056) (ebe8b24) v6.5.0 6.5.0 (2023-09-07) Features deps: remove node.js...

dependencies
github_actions

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 4.1.1. Release notes Sourced from actions/checkout's releases. v4.1.1 What's Changed Update CODEOWNERS to Launch team by @​joshmgross in actions/checkout#1510 Correct link to GitHub Docs by...

dependencies
github_actions

[πŸ’‘ Feature]: Autoconnect a newly switched account to the dapp if one was connected previously

[{"_id":"664707562308c3a90319ef85","body":"i'm facing same issue, any resolve have?","issue_id":1709757860017,"origin_id":1766047772,"user_origin_id":2010841,"create_time":1697535543,"update_time":1697535543,"id":1715930966376,"updated_at":"2024-05-17T07:29:26.375000Z","created_at":"2024-05-17T07:29:26.375000Z"}] comment

### Is your feature request related to a problem? With metamask, with one account connected to a dApp it's possible to connect another account straight away, specifically replacing the previous...

idea πŸ’‘
needs triaging ⏳

[πŸ’‘ Feature]: Synpress with fully parallel run with metamask windows

[{"_id":"66cd9a393be607015e0912e3","body":"Please guys make this post more popular, then I will create PR with this updates\r\nThanks in advance!","issue_id":1709757860028,"origin_id":1679478152,"user_origin_id":45906197,"create_time":1692127573,"update_time":1692127573,"id":1724750393294,"updated_at":"2024-08-27T09:19:53.293000Z","created_at":"2024-08-27T09:19:53.293000Z"},{"_id":"66cd9a393be607015e0912e4","body":"I've created simple test example for public demonstration: \r\n```\r\nimport { test } from '..\/src\/common\/fixtures'\r\nimport { initialSetup, acceptAccess } from '@synthetixio\/synpress\/commands\/metamask'\r\nimport { Browser, BrowserContext } from '@playwright\/test'\r\nimport * as playwright from '@synthetixio\/synpress\/commands\/playwright'\r\nimport { generateMnemonic } from '@e2eUtils'\r\n\r\ntest.describe('Connect wallet opensea', function () {\r\n async function metamaskSetupWithContext(context: BrowserContext, browser: Browser, rpc: string) {\r\n await context.pages()[0].waitForTimeout(3000)\r\n const network = {\r\n networkName: process.env.NETWORK_NAME,\r\n rpcUrl: rpc,\r\n chainId: process.env.CHAIN_ID,\r\n symbol: process.env.SYMBOL,\r\n isTestnet: process.env.IS_TESTNET,\r\n }\r\n const playwrightInstance = browser.browserType()\r\n const mnemonic = generateMnemonic()\r\n await initialSetup(playwrightInstance, context, {\r\n secretWordsOrPrivateKey: mnemonic,\r\n network,\r\n password: process.env.METAMASK_PASSWORD,\r\n enableAdvancedSettings: true,\r\n enableExperimentalSettings: false,\r\n })\r\n await playwright.waitUntilStable()\r\n }\r\n\r\n test.beforeEach(async function({ context, browser }, testInfo) {\r\n if (testInfo.title.includes(\"1\")) {\r\n const rpc = \"<rpc_url1>\"\r\n await metamaskSetupWithContext(context, browser, rpc)\r\n } else {\r\n const rpc = \"<rpc_url2>\"\r\n await metamaskSetupWithContext(context, browser, rpc)\r\n }\r\n })\r\n\r\n test('test 1', async function({ page, accountMenuPage, context, browser }) {\r\n await page.goto('https:\/\/testnets.opensea.io\/')\r\n await page.locator('\/\/*[@type=\"button\" and contains(.,\"Connect wallet\")]').click()\r\n await page.locator('\/\/li\/button[contains(.,\"MetaMask\")]').click()\r\n \/\/await page.locator('\/\/button[contains(.,\"Accept and sign\")]').click()\r\n await acceptAccess(\r\n {\r\n signInSignature: true,\r\n },\r\n )\r\n })\r\n test('test 2', async function({ page, accountMenuPage, context, browser }) {\r\n await page.goto('https:\/\/testnets.opensea.io\/')\r\n await page.locator('\/\/*[@type=\"button\" and contains(.,\"Connect wallet\")]').click()\r\n await page.locator('\/\/li\/button[contains(.,\"MetaMask\")]').click()\r\n \/\/await page.locator('\/\/button[contains(.,\"Accept and sign\")]').click()\r\n await acceptAccess(\r\n {\r\n signInSignature: true,\r\n },\r\n )\r\n })\r\n})\r\n```\r\neach test will fail on \"Access denied\" error from opensea after `acceptAccess`, but in parallel mode :)","issue_id":1709757860028,"origin_id":1679519542,"user_origin_id":45906197,"create_time":1692129383,"update_time":1692130612,"id":1724750393297,"updated_at":"2024-08-27T09:19:53.297000Z","created_at":"2024-08-27T09:19:53.297000Z"},{"_id":"66cd9a393be607015e0912e5","body":"Great work @itev4n7! Would love to see this as a pull request. Cheers!","issue_id":1709757860028,"origin_id":1679754110,"user_origin_id":8177587,"create_time":1692141887,"update_time":1692141887,"id":1724750393300,"updated_at":"2024-08-27T09:19:53.300000Z","created_at":"2024-08-27T09:19:53.300000Z"},{"_id":"66cd9a393be607015e0912e6","body":"@drptbl I will create it soon :)","issue_id":1709757860028,"origin_id":1680793258,"user_origin_id":45906197,"create_time":1692198447,"update_time":1692198447,"id":1724750393303,"updated_at":"2024-08-27T09:19:53.302000Z","created_at":"2024-08-27T09:19:53.302000Z"}] comment

### Is your feature request related to a problem? πŸ“¦ **The problem** Due to hardcoded line `await browser.contexts()[0].pages();` in `assignWindows` function that placed in `commands/playwright.js` you not able to run...

idea πŸ’‘

[πŸ› Bug]: `cy.importMetamaskAccount()` timeout on duplicate account

[{"_id":"66cd9a225a1d13a44707cb1d","body":"Also experiencing this. Did you ever find a workaround @MichalLytek?","issue_id":1709757860032,"origin_id":2077166695,"user_origin_id":4820950,"create_time":1714051247,"update_time":1714051247,"id":1724750370635,"updated_at":"2024-08-27T09:19:30.635000Z","created_at":"2024-08-27T09:19:30.635000Z"}] comment

### πŸ”Ž Have you searched existing issues to avoid duplicates? - [X] I have made sure that my issue is not a duplicate. ### πŸ§ͺ Have you tested your code...

bug πŸ›
needs triaging ⏳

How do I combine Synpress with other plugins? Getting errors about promises

[{"_id":"66cd9a083be607015e0912d2","body":"Ok, like I've reported in #764, I've added debugging in `initialSetup` in synpress\/commands\/metamask.js:\r\n```\r\n async initialSetup(\r\n playwrightInstance,\r\n {\r\n secretWordsOrPrivateKey,\r\n network,\r\n password,\r\n enableAdvancedSettings,\r\n enableExperimentalSettings,\r\n },\r\n ) {\r\n console.log(`YL debug point 1, process.env.NETWORK_NAME is ${process.env.NETWORK_NAME}`)\r\n const isCustomNetwork =\r\n (process.env.NETWORK_NAME &&\r\n process.env.RPC_URL &&\r\n process.env.CHAIN_ID &&\r\n process.env.SYMBOL) ||\r\n typeof network == 'object';\r\n console.log(`YL debug point 1.1: isCustomNetwork is ${isCustomNetwork}`)\r\n```\r\nSuprisingly, it reports `process.env.NETWORK_NAME` to be `undefined`, although I've set it in .env. Do I have to load .env by myself?\r\n\r\nPS Ok, I've installed `dotenv` and used `dotenv.config()` to fix this. Now execution doesn't seem to finish `await playwright.init();` but also fails silently.","issue_id":1709757860042,"origin_id":1576905106,"user_origin_id":1131924,"create_time":1685974992,"update_time":1685978409,"id":1724750344784,"updated_at":"2024-08-27T09:19:04.783000Z","created_at":"2024-08-27T09:19:04.783000Z"},{"_id":"66cd9a083be607015e0912d3","body":"Making Synpress works with Cucumber id definitely a great idea! I will look into this issue when I have a chance. Thanks for sharing! ","issue_id":1709757860042,"origin_id":1584568999,"user_origin_id":72753578,"create_time":1686316949,"update_time":1686333020,"id":1724750344788,"updated_at":"2024-08-27T09:19:04.787000Z","created_at":"2024-08-27T09:19:04.787000Z"},{"_id":"66cd9a083be607015e0912d4","body":"Right, so now that I've defeated several issues, the problem is boiled down to\r\n\r\n1. the [cypress run vs open issue](https:\/\/github.com\/Synthetixio\/synpress\/issues\/414#issuecomment-1586233431);\r\n2. I have to retest this, but it seems that unlike Cucumber cli, Cypress\/Synpress doesn't suggest test boilerplates.\r\n\r\nThe first one is quite a problem, as it slows down the feedback loop (when writing tests) to an extent that I'd call it \"breaks it\".\r\n\r\nI'll update the repo to make it work as I have it working locally now (haven't done yet).","issue_id":1709757860042,"origin_id":1586235759,"user_origin_id":1131924,"create_time":1686500325,"update_time":1686500325,"id":1724750344791,"updated_at":"2024-08-27T09:19:04.791000Z","created_at":"2024-08-27T09:19:04.791000Z"},{"_id":"66cd9a083be607015e0912d5","body":"These might be related: https:\/\/github.com\/Synthetixio\/synpress\/issues\/404","issue_id":1709757860042,"origin_id":1609411925,"user_origin_id":10894666,"create_time":1687869134,"update_time":1687869134,"id":1724750344796,"updated_at":"2024-08-27T09:19:04.796000Z","created_at":"2024-08-27T09:19:04.796000Z"},{"_id":"66cd9a083be607015e0912d6","body":"Current DX is a total nightmare. The following 2 issues ruin the workflow:\r\n\r\n1. the [broken watch mode](https:\/\/github.com\/Synthetixio\/synpress\/issues\/414#issuecomment-1586233431) (i.e. `cypress open` not working) means that the feedback loop for a change is several minutes, plus some of the info about errors is not available;\r\n2. the reports don't include on which (Cucumber) step the test failed.\r\n\r\nCombined with the fact that some failures are randomly reproduced\/not reproduced due to timeouts (I'm dealing with a complex DApp with behavior quirks), I'm getting the following DX problems:\r\n\r\n* very slow feedback loop, plus Synpress makes it hard to do something in parallel as it grabs focus to its Chrome windows\/tabs multiple times per test;\r\n* it gives really little info regarding where the error came from (step is unknown, debug info is not available since the window is closed on failure), and I have to put `cy.pause()` here and there trying to narrow down the issue (combine that with the random reproductivity to imagine the result).\r\n\r\nI'll do my best to provide a minimal reproducible example, but for now I'm just outlining the problems and asking to **prioritize #417**. I'm also **looking for a way not to close Cypress window once it fails**: this would help determining the step on which the problem occured and do some in-place debugging (like in the watch mode).\r\n\r\nPS @kasparkallas I don't really see any connection. Why you think so?","issue_id":1709757860042,"origin_id":1610841257,"user_origin_id":1131924,"create_time":1687934025,"update_time":1687934025,"id":1724750344800,"updated_at":"2024-08-27T09:19:04.800000Z","created_at":"2024-08-27T09:19:04.800000Z"},{"_id":"66cd9a083be607015e0912d7","body":"Ok, looks like putting\r\n\r\n\tafterEach(function() {\r\n\t if (this.currentTest?.state === 'failed') {\r\n\t\tcy.pause();\r\n\t }\r\n\t});\r\n\r\ninto a steps definition file is a working approach to beat the \"not sure where the failure comes from\" problem, as well as to access the sources by the stack trace). This helps a lot.","issue_id":1709757860042,"origin_id":1611679149,"user_origin_id":1131924,"create_time":1687967212,"update_time":1687967212,"id":1724750344802,"updated_at":"2024-08-27T09:19:04.802000Z","created_at":"2024-08-27T09:19:04.802000Z"},{"_id":"66cd9a083be607015e0912d8","body":"Another problem, a somewhat complicated one: https:\/\/github.com\/cypress-io\/cypress\/issues\/27437 \u2013 `cy.visit` fails when using Synpress and Cucumber on a page that uses Chatbase. I'll probably create a separate issue for this here (in Synpress repo) as well, since removing Synpress removes the issue","issue_id":1709757860042,"origin_id":1666921347,"user_origin_id":1131924,"create_time":1691341341,"update_time":1691341341,"id":1724750344805,"updated_at":"2024-08-27T09:19:04.805000Z","created_at":"2024-08-27T09:19:04.805000Z"},{"_id":"66cd9a083be607015e0912d9","body":"The reason is that synpress is\/was using async\/await inside the `before` hook.\r\nMy solution was to copy-paste-modify the original supports file and remove async-await:\r\n```\r\nbefore(() => {\r\n if (!Cypress.env('SKIP_METAMASK_SETUP')) {\r\n cy.setupMetamask();\r\n }\r\n});\r\n```","issue_id":1709757860042,"origin_id":1739340967,"user_origin_id":10618781,"create_time":1695910875,"update_time":1695910875,"id":1724750344809,"updated_at":"2024-08-27T09:19:04.808000Z","created_at":"2024-08-27T09:19:04.808000Z"},{"_id":"66cd9a083be607015e0912da","body":"Thanks @MichalLytek, this cures the complain about a promise indeed, created a [PR](https:\/\/github.com\/Synthetixio\/synpress\/pull\/894) for this. There are other problems with watch mode though, I'll report those later.","issue_id":1709757860042,"origin_id":1739848445,"user_origin_id":1131924,"create_time":1695927264,"update_time":1695927264,"id":1724750344812,"updated_at":"2024-08-27T09:19:04.812000Z","created_at":"2024-08-27T09:19:04.812000Z"}] comment

**Describe the bug** I've successfully set up the Cucumber + Cypress bundle and now trying make Cucumber + Synpress work in a similar way. However, I'm getting this error: >...

bug πŸ›

### Is your feature request related to a problem? no ### Describe the solution you'd like. I'd like for the metamask configuration to be cached/saved so that every time the...

idea πŸ’‘
needs triaging ⏳