๐ต๐น [email protected]
https://www.linkedin.com/in/pcardosolei/
- Thanks for visiting.
License: MIT License
๐ต๐น [email protected]
https://www.linkedin.com/in/pcardosolei/
Hi!
I've managed to get connecting and importing working on my native OS but I get issues when running dockerized.
"before all" hook for "Printing addresses":
CypressError: `cy.task('setupMetamask')` failed with the following error:
> Puppeteer failed to initialize the metamask wallet. 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.
Issue occurs below where waitForTimeout
fails between metamaskWindow()
is undefined which happens because assignWindows
fails because the internal puppeteer.pages()
call returns 0 pages. I don't know whether this is an issue with the pages()
call itself, or the puppeteer.connect()
call inside your puppeteer.init()
function. Is this something you've seen before.
await puppeteer.init();
await puppeteer.assignWindows();
await puppeteer.assignActiveTabName('metamask');
// sometimes it will fail here.
await puppeteer.metamaskWindow().waitForTimeout(10000);
Thanks in advance for any help!
The selectors are out of date for Metamask 10.x
yo yo
for lack of a better communication method I'll use issues :-)
if (process.env.CI) {
arguments_.args.push(
`--disable-extensions-except=${metamaskPath}`,
`--load-extension=${metamaskPath}`,
);
}
just curious... any reason for adding this snippet to plugins/index.js
? I see that Synpress doesn't do that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.