3.4 KiB
3.4 KiB
List of ENV variables for tests configuration
| ENV variables | Description | Type | Default | Required | Example |
|---|---|---|---|---|---|
E2E_DOMAIN |
Base URL used for all pages in the context. documentation | String | undefined | true | E2E_DOMAIN=http://localhost:8080 |
E2E_MAX_WORKERS |
Number of max workers for playwright. documentation | Number | it counts like number of logical CPU core | false | E2E_MAX_WORKERS=3 |
E2E_TEST_MATCH |
Name of test which should be run. documentation | String | undefined (run all tests) | false | E2E_TEST_MATCH=addField |
E2E_TEST_NAME_PATTERN |
A pattern by which playwright will choose which tests to run. documentation | String | undefined (run all tests) | false | E2E_TEST_NAME_PATTERN=Wizard - |
E2E_SUITE |
Specify directory in ./suites folder. documentation |
String | undefined (run all suites from folder ./suites |
false | E2E_SUITE=wizard |
E2E_DEBUG |
Debug mode set playwright workers to 1 and run all tests 1 by 1 documentation | Boolean | undefined | false | E2E_DEBUG=true |
E2E_RETRY_TIMES |
Number of test retries documentation | Number | 0 | false | E2E_RETRY_TIMES=2 |
E2E_HEADFUL |
Whether to run browser in headful mode. documentation | Boolean | false | false | E2E_HEADFUL=false |
E2E_SLOW_MO |
Slows down playwright operations by the specified amount of milliseconds [documentation] (https://playwright.dev/docs/api/class-browsertype#browser-type-connect-option-slow-mo) | Number | 100 | false | E2E_SLOW_MO=1000 |