A Cypress test suite designed to test the following applications:
Both the applications are exactly the same, except one is implemented in Elm, and the other using Phoenix.
Cypress is an end-to-end test framework, and does not care about application internals.
Therefore, the idea is that a single set of Cypress tests should be able to test both of these applications, avoiding the need to write two separate test suites in the respective application languages.
I wrote all about the creation of this test suite in the following blog post:
git clone https://github.com/paulfioravanti/cypress-i18n-example.git
cd cypress-i18n-example
npm install
See the README files of the respective applications listed above to get them set up. Cypress will assume both applications are running on their default URLs and ports.
npm run cypress:open
The Cypress application should automatically open, where the tests can be run.