Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

A Cypress test suite for the elm-i18n-example and phx_i18n_example repos.

License

Notifications You must be signed in to change notification settings

paulfioravanti/cypress-i18n-example

Repository files navigation

Cypress I18n Example

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.

Blog Post

I wrote all about the creation of this test suite in the following blog post:

Setup

git clone https://github.com/paulfioravanti/cypress-i18n-example.git
cd cypress-i18n-example
npm install

Setup Applications Under Test

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.

Run Tests

npm run cypress:open

The Cypress application should automatically open, where the tests can be run.

About

A Cypress test suite for the elm-i18n-example and phx_i18n_example repos.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published