Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Run Cypress tests on Safari and Firefox #313

Open haakemon opened 2 years ago

haakemon commented 2 years ago

Description

Currently our Cypress tests are only run on Chrome. To ensure apps work in other browsers, we should run tests on the most common browsers, Chrome, Firefox and Safari.

We recently had an incident where apps were broken on Safari browsers: https://github.com/Altinn/app-frontend-react/issues/312

Additional Information

Cypress doesnt actually have support for Safari yet (current supported browsers, github issue for Safari support), so we need to figure out a way to work around this. Some options:

Tasks

No response

Acceptance Criterias

olemartinorg commented 2 years ago

I just created a new issue for a (huge effort) pipe dream I have. I do think, if we pull that off, we won't need this change all that much. I guess we could continue working on our current cypress tests to exhaustively test specific functionality, while the broad-strokes happy-path tests in the issue I mentioned could make sure most things continue to work cross-browser for every new frontend release.