# Cypress

# 2020-02-01 Hold

We needed to write an Acceptance Test that will drive the browser (the pattern from the GOOS book). We initially looked at Cypress as it was framed as an end-to-end test, and our acceptance test is a form of an acceptance test. Unfortunately, we quickly hit problems when we needed to execute non-browser activities, such as seeding database, asserting database, or hitting an API. We felt that things that would otherwise be quite natural to be done via Node.JS is turning quite hairy.

As we're already using jest for our unit tests, we found jest-puppeteer to suit our need better.