Open
Description
Overview
All our testing is currently in english and we want to ensure our other site languages are working. This need came from an incident where a bug happened on all browser languages except for english and the cypress tests did not catch it.
Action Items
- Get Cypress tests up and running. Read Cypress docs in the repo.
- Take a look at the German example of the test in
create-user.de.cy.tsx
- Duplicate this test in Portuguese and name it
create-user.pt.cy.tsx.
Note that you will have to update some of the test assertions to match the Portuguese version of the site. Take a look at bloom.chayn.co/pt for the Portuguese version of the site to find the equivalent text. - Ensure you create a custom visitPortuguesePage that replicates the behaviour of visitGermanPage in this file
- Ensure the type file is updated.