Skip to content

Commit 4c08365

Browse files
committed
Explain waitInterval.
1 parent 5743192 commit 4c08365

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tests/e2e/utils/accessibility-pages-matrix.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
* - `path`: WordPress admin path relative to /wp-admin/ (e.g., '/upload.php?mode=grid')
1010
* - `name`: Human-readable name (shown in test output)
1111
* - `rules`: (optional) Per-page axe rules override. Merged with global rules.
12+
* - `waitInterval`: (optional) Boolean indicating if the test should wait for a
13+
* short interval before scanning. This is particularly important
14+
* for pages rendered via React components like the Settings > Connectors
15+
* page or the Fonts page. Without this wait, the scan may run before all
16+
* content is fully rendered.
1217
* - `stateVariants`: (optional) Array of UI states to test. Each variant has:
1318
* - `name`: State identifier (shown in test name)
1419
* - `setup`: (optional) Async function to set up the state. Receives (page, requestUtils) objects.

0 commit comments

Comments
 (0)