This project was developed to explore the implementation of E2E automated tests in web and mobile applications through the Cypress and Detox libraries, respectively.
The data used in this application to generate the pack's cards are obtained through the Yu-Gi-Oh! API.
To clone and run this application, place from your command line:
# Clone this repository
$ git clone https://github.com/isabelamoraes/yugioh-e2e.git
# Install dependencies
$ yarn
# Run the web application
$ yarn run:web
# Start the mobile application
$ yarn run:mobile
# Run the mobile application (Android)
$ yarn run:android
The Cypress was used to create E2E tests for web application as shown in the following image:
To run the tests, first run the web application and next place from your command line:
# Go into the e2e repository
$ cd e2e
# Install dependencies
$ npm install
# Open Cypress interface and run the tests
$ npm run test:open
# Run the tests (headless mode)
$ npm run test:run
# Run the tests and generate a custom report with Mochawesome
$ npm run test:mochawesome
The Detox was used to create E2E tests for mobile application as shown in the following image:
To run the tests, place from your command line:
# Start the mobile application
$ yarn run:mobile
# Run the test
$ yarn run:detox