mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
defaults/main.yml declared test_e2e_playwright_wait_enabled, _retries and _delay with param docs. Nothing read them: 02_run_one.yml uses the uppercase TEST_E2E_PLAYWRIGHT_WAIT_* names from vars/main.yml as retries, delay and in the readiness condition. These were not overridden defaults but a separate, unread namespace, so they read as knobs while turning nothing. After removing them the lowercase names have no occurrence left in the repository, while the uppercase ones are used in three places. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
44 lines
2.2 KiB
YAML
44 lines
2.2 KiB
YAML
---
|
|
# Defaults for the Playwright end-to-end sidecar.
|
|
#
|
|
# Param test_e2e_playwright_run_timeout: hard cap per role in seconds; Ansible
|
|
# kills the sidecar when it is exceeded. Sized for addon-heavy roles that run
|
|
# many per-addon specs, e.g. nextcloud (~50 addons).
|
|
# Param test_e2e_playwright_test_timeout: per-test timeout in ms
|
|
# (config.timeout); caps a single spec.
|
|
# Param test_e2e_playwright_workers: parallel Playwright workers. Spec FILES run
|
|
# concurrently; tests within a file stay serial while
|
|
# TEST_E2E_PLAYWRIGHT_FULLY_PARALLEL is false. Computed conservatively from
|
|
# host CPU/RAM, capped for the app-under-test's concurrency limits, reduced
|
|
# on CI.
|
|
# Param TEST_E2E_PLAYWRIGHT_GLOBAL_TIMEOUT_BUFFER: seconds subtracted from
|
|
# run_timeout to form globalTimeout, leaving room for Ansible to collect
|
|
# artifacts before it kills the sidecar.
|
|
# Param test_e2e_playwright_only_roles: roles whose specs run. `.running` is the
|
|
# whitelist when a targeted deploy sets one and the inventory groups
|
|
# otherwise. `.groups` would run every spec in the round even when `apps=`
|
|
# deployed three roles, so specs for untouched roles fail on stale state and
|
|
# mask the result of the deploy that actually ran.
|
|
# Param test_e2e_playwright_skip_roles: roles excluded from the run.
|
|
# Param test_e2e_playwright_keep: keep the sidecar and cluster after the run.
|
|
# Param VARIANT_INDEX: 0-based matrix-deploy round id, pushed as an extra var by
|
|
# `cli/administration/deploy/development/deploy.py` when the matrix
|
|
# orchestrator runs. Defaults to 0 for dev / non-matrix invocations so
|
|
# per-(variant, pass) artifact archiving still produces a valid
|
|
# `variant-0/<sync|async>/` slot.
|
|
test_e2e_playwright_run_timeout: 3600
|
|
|
|
test_e2e_playwright_test_timeout: 300000
|
|
|
|
test_e2e_playwright_workers: "{{ lookup('playwright_workers') }}"
|
|
|
|
TEST_E2E_PLAYWRIGHT_GLOBAL_TIMEOUT_BUFFER: 60
|
|
TEST_E2E_PLAYWRIGHT_GLOBAL_TIMEOUT_MS: "{{ (((TEST_E2E_PLAYWRIGHT_RUN_TIMEOUT_EFFECTIVE | int) - (TEST_E2E_PLAYWRIGHT_GLOBAL_TIMEOUT_BUFFER | int)) * 1000) | string
|
|
}}"
|
|
|
|
test_e2e_playwright_only_roles: "{{ lookup('deployment').running }}"
|
|
test_e2e_playwright_skip_roles: []
|
|
test_e2e_playwright_keep: false
|
|
|
|
VARIANT_INDEX: 0
|