dianasuvorova / e2e Goto Github PK
View Code? Open in Web Editor NEWLocal e2e integration tests with enzyme, puppeteer and travis for create-react-app.
Local e2e integration tests with enzyme, puppeteer and travis for create-react-app.
Great example. I was looking for something similar, but a bit less invasive. Also I would like to be able to test arbitrary React component without rendering the whole tree. Just like we usually do with Enzyme. jsdom
is very handy in most cases, but I also rely on getBoundingClientRect
, so out of luck there. I was thinking if there was a way to have a method similar to Enzymes mount
(but asynchronous), which will launch headless Chrome (with Puppeteer on top) behind the scenes and return the same ReactWrapper object as mount
does. What do you think?
Hi,
I just found your repo and tried to run a test but got the error as specified above. Has the puppeteer API changed?
Thanks
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.