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
Running the synpress test in the dapp-example throws error at setupMetamask task.
Steps to reproduce
Run npm run test then observe the error
1) "before all" hook for"Show alias"
0 passing (543ms)
1 failing
1) Test Core Hedera User Scenarios
Tests with normal account
"before all" hook for"Show alias":
CypressError: `cy.task('setupMetamask')` failed with the following error:
> Cannot read properties of undefined (reading 'waitForTimeout')
https://on.cypress.io/api/task
Because this error occurred during a `before all` hook we are skipping all of the remaining tests.
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
at <unknown> (http://localhost:3000/__cypress/runner/cypress_runner.js:135434:70)
at tryCatcher (http://localhost:3000/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:3000/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:3000/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:3000/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:3000/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://localhost:3000/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:3000/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:3000/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:3000/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack://example-dapp/./node_modules/@synthetixio/synpress/support/commands.js:285:14)
From Node.js Internals:
TypeError: Cannot read properties of undefined (reading 'waitForTimeout')
at Object.fixBlankPage (/Users/user/development/hashgraph/hedera-json-rpc-relay/dapp-example/node_modules/@synthetixio/synpress/commands/playwright.js:399:16)
at Object.initialSetup (/Users/user/development/hashgraph/hedera-json-rpc-relay/dapp-example/node_modules/@synthetixio/synpress/commands/metamask.js:1526:22)
at async setupMetamask (/Users/user/development/hashgraph/hedera-json-rpc-relay/dapp-example/node_modules/@synthetixio/synpress/plugins/index.js:166:7)
Additional context
No response
Hedera network
other
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered:
Description
Running the synpress test in the dapp-example throws error at setupMetamask task.
Steps to reproduce
Run npm run test then observe the error
Additional context
No response
Hedera network
other
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered: