Add env vars to pass to the QA framework
With GitLab MR https://gitlab.com/gitlab-org/gitlab/merge_requests/20516 we can set the following environment variables, which use Chrome's built-in dev tools network connection settings to simulate a slow connection.
QA_SIMULATE_SLOW_CONNECTION
enables the feature when set to true
.
QA_SLOW_CONNECTION_LATENCY_MS
sets additional latency in ms (default 2000).
QA_SLOW_CONNECTION_THROUGHPUT_KBPS
sets the maximum throughput in kbps (default 32).
QA_DISABLE_RSPEC_RETRY
will prevent rspec from retrying tests that fail (default false
).
Edited by George Koltsov