Skip to content

Latest commit

 

History

History
133 lines (92 loc) · 4.55 KB

README.md

File metadata and controls

133 lines (92 loc) · 4.55 KB

Farfetch-Mobile-Automated-Tests

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

image

Overview

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.

Technologies and Tools Used

  • JavaScript
  • Gherkin
  • Node.js
  • NPM
  • Cucumber
  • CodeceptJS
  • Appium
  • Android Studio

Requirements and Settings

To run the tests on your computer, follow these steps:

  1. Download the following tools (make sure you get an updated version):

Appium Settings

  1. Open Appium and enter the following setting:
  • Remote Host : 127.0.0.1
  • Remote Port : 4723

image


Code Editor

Inside your code editor, open the terminal and run the following commands:

  1. Clone this GitHub repository:
git clone https://github.com/henriquekoaski/Farfecth-Mobile-Automated-Tests.git

  1. Direct to the project directory:
cd Farfecth-Mobile-Automated-Tests

  1. Install the dependencies:
npm install

APK File

  1. Download the APK file through this Link
  • For the tests carried out in this repository, version 5.32.0 was used

  1. "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."

image

Project Structure

The project is organized as follows:

image image image

Running

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

Tests Results

image