https://github.com/isabelamoraes/yugioh-e2e
https://github.com/isabelamoraes/yugioh-e2e
cypress detox e2e moti react-native reactjs styled-components test yugioh-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/isabelamoraes/yugioh-e2e
- Owner: isabelamoraes
- Created: 2023-02-04T13:04:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T23:29:42.000Z (over 2 years ago)
- Last Synced: 2025-01-23T01:12:39.647Z (5 months ago)
- Topics: cypress, detox, e2e, moti, react-native, reactjs, styled-components, test, yugioh-api
- Language: Java
- Homepage:
- Size: 16.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yu-Gi-Oh!
Discover the cards available in your pack
![]()
![]()
## 📁 Project
This project was developed to explore the implementation of E2E automated tests in web and mobile applications through the Cypress and Detox libraries, respectively.
## 🔗 Yu-Gi-Oh! API
The data used in this application to generate the pack's cards are obtained through the [Yu-Gi-Oh! API](https://ygoprodeck.com/api-guide/).
## 📃 Getting Started
To clone and run this application, place from your command line:
```bash
# 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```
## 💻 Cypress
The [Cypress](https://www.cypress.io/) 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:
```bash
# 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```
## 📱 Detox
The [Detox](https://wix.github.io/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:
```bash
# Start the mobile application
$ yarn run:mobile# Run the test
$ yarn run:detox```