/kygid_ha

Primary LanguageTypeScript

Kygid Home Assignment

Table of Contents

Pre-conditions

Install required dependencies and populate environment variables.

npm install
cp -n .env.example .env

Environment variables

Var Description Default value
MAX_RETRIES Max tests retries 0
MAX_PARALLEL_THREADS Max tests parallel executors 1
TIMEOUT Max time test will wait for action/app response to happen. 10000
BASE_URL Base url of application under test. "https://www.sandbox.kygid.app"

How to run tests

Run all e2e tests

npm test

Artifacts

Test run generates various artifacts with following structure:

 artifacts
├──  junit
│  └── 謹 junit.xml
├──  allure
│  └── allure data will be there
├──  others
│  └── screenshots and videos will be here
└──  pw-report
   └──  index.html