Install required dependencies and populate environment variables.
npm install
cp -n .env.example .env
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" |
Run all e2e tests
npm test
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