This repository contains automated tests of the Farfetch app, an e-commerce platform with a primary focus on luxury fashion and beauty products.
- access the APP through this Link
In this project, we conduct automated tests using JavaScript and Gherkin with Node, NPM, Cucumber,CodeceptJS, Appium and Android Studio. The aim is to ensure the quality and reliability of the Farfetch App.
- JavaScript
- Gherkin
- Node.js
- NPM
- Cucumber
- CodeceptJS
- Appium
- Android Studio
To run the tests on your computer, follow these steps:
- Download the following tools (make sure you get an updated version):
- Open Appium and enter the following setting:
- Remote Host : 127.0.0.1
- Remote Port : 4723
Inside your code editor, open the terminal and run the following commands:
- Clone this GitHub repository:
git clone https://github.com/henriquekoaski/Farfecth-Mobile-Automated-Tests.git
- Direct to the project directory:
cd Farfecth-Mobile-Automated-Tests
- Install the dependencies:
npm install
- Download the APK file through this Link
- For the tests carried out in this repository, version 5.32.0 was used
- "In the 'codeceptj.conf.js' file, within the 'Appium>app' section, update the file path to specify the directory where your APK file is stored on your local machine."
The project is organized as follows:
To run automated tests on your computer, make sure all of the following tools are open:
- Appium Server GUI (Appium Desktop)
- Appium Inspector
- Android Studio (Emulator)
After configuring the initial settings, execute the tests using the following command:
npm test