fix: flaky playwright status tests #3459
Annotations
1 error and 1 notice
Run all tests:
playwright/tests/meeting/agenda.spec.js#L826
1) [firefox] › meeting/agenda.spec.js:783:3 › past - desktop › agenda settings › import config ───
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.n-message')
Expected string: "Config imported successfully"
Received string: "Failed to import JSON config."
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.n-message')
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
- locator resolved to <div class="n-message n-message--error-type">…</div>
- unexpected value "Failed to import JSON config."
824 | ])
825 | await fileChooser.setFiles('data/agenda-settings.json')
> 826 | await expect(page.locator('.n-message')).toContainText('Config imported successfully')
| ^
827 | })
828 |
829 | // -----------------------
at /Users/runner/work/datatracker/datatracker/playwright/tests/meeting/agenda.spec.js:826:48
at /Users/runner/work/datatracker/datatracker/playwright/tests/meeting/agenda.spec.js:814:5
|
Run all tests
1 flaky
[firefox] › meeting/agenda.spec.js:783:3 › past - desktop › agenda settings ────────────────────
3 skipped
25 passed (5.6m)
|
Loading