6f43fef1f2
Replace dynamic imports with static imports in wait-helpers module to prevent cold module cache failures when Shard 1 executes first in CI sequential worker mode. Dynamic imports of ui-helpers were failing in CI because Shard 1 runs with cold module cache (workers: 1), while local tests pass due to warm cache from parallel execution. Static imports eliminate the async resolution overhead and ensure consistent behavior across all execution modes. Affected test files in Shard 1: - access-lists-crud.spec.ts (32 wait helper usages) - authentication.spec.ts (1 usage) - certificates.spec.ts (20 usages) - proxy-hosts.spec.ts (38 usages) Fixes CI failure rate from 50% (6/12 jobs) to expected 100% (12/12). Resolves: Shard 1 failures across all browsers Related: #609 (E2E Test Triage and Beta Release Preparation)
36 KiB
36 KiB