Skip to content

Add env vars to pass to the QA framework

Mark Lapierre requested to merge ml-add-slow-connection-vars into master

With GitLab MR gitlab!20516 (merged) 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).

See gitlab#36015 (closed)

Edited by Mark Lapierre

Merge request reports