anthonyjgrove / react-google-login

A React Google Login Component
https://anthonyjgrove.github.io/react-google-login
MIT License
1.84k stars 427 forks source link

Setup puppeteer and jest to run more in-depth tests #160

Open anthonyjgrove opened 6 years ago

anthonyjgrove commented 6 years ago

Use puppeteer to test the full functionality of the button with different prop settings against the expected outcomes.

johntran commented 6 years ago

@anthonyjgrove What do you think of using this for E2E tests? https://github.com/bahmutov/cypress-react-unit-test

anthonyjgrove commented 6 years ago

Hey sorry, i just re-did the tests with jest and enzyme but I still want to do integration tests level tests with something like puppeteer.