counterfactual / monorepo

Home for all packages related to the Counterfactual project
https://counterfactual.com
MIT License
187 stars 44 forks source link

[testing] Implement an end-to-end test suite for Counterfactual #1907

Open joelalejandro opened 5 years ago

joelalejandro commented 5 years ago

We'll add a new package called greenboard. Its goal is to test a series of interaction flows simulating user input for the scenarios described in #1852.

Task list

Initial work was done in the joel/e2e branch (see #1906).

joelalejandro commented 5 years ago

We had to scrap the idea of testing with Cypress because they're not ready for Chrome Extensions yet (see cypress-io/cypress#1965). So we're moving forward with Puppeteer instead.

joelalejandro commented 5 years ago

Once again, scrapping an idea :man_facepalming: Puppeteer offers no API to interact with the browser toolbar, so we wouldn't be able to sign messages or deposits. Moving on to Selenium.