fix: Selenium tests via scroll_and_click #3363
ci-run-tests.yml
on: pull_request
tests
/
Python Tests
29m 33s
Matrix: tests / Playwright Legacy Tests
Matrix: tests / Playwright Tests
Annotations
3 errors and 4 notices
[chromium] › status/status.spec.js:39:3 › site status › Doesn't render dismissed server statuses:
playwright/tests/status/status.spec.js#L49
1) [chromium] › status/status.spec.js:39:3 › site status › Doesn't render dismissed server statuses
Error: should have status
Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('status-1')
Expected: 0
Received: 1
Call log:
- should have status with timeout 5000ms
- waiting for getByTestId('status-1')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
47 | await page.goto('/')
48 | await page.evaluate(({ key, value }) => localStorage.setItem(key, value), { key: STATUS_STORAGE_KEY, value: JSON.stringify([status1.id]) })
> 49 | await expect(page.getByTestId(generateStatusTestId(status1.id)), 'should have status').toHaveCount(0)
| ^
50 | })
51 |
52 | test('Handles no server status', async ({ page }) => {
at /Users/runner/work/datatracker/datatracker/playwright/tests/status/status.spec.js:49:92
|
[chromium] › status/status.spec.js:39:3 › site status › Doesn't render dismissed server statuses:
playwright/tests/status/status.spec.js#L49
1) [chromium] › status/status.spec.js:39:3 › site status › Doesn't render dismissed server statuses
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: should have status
Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByTestId('status-1')
Expected: 0
Received: 1
Call log:
- should have status with timeout 5000ms
- waiting for getByTestId('status-1')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
47 | await page.goto('/')
48 | await page.evaluate(({ key, value }) => localStorage.setItem(key, value), { key: STATUS_STORAGE_KEY, value: JSON.stringify([status1.id]) })
> 49 | await expect(page.getByTestId(generateStatusTestId(status1.id)), 'should have status').toHaveCount(0)
| ^
50 | })
51 |
52 | test('Handles no server status', async ({ page }) => {
at /Users/runner/work/datatracker/datatracker/playwright/tests/status/status.spec.js:49:92
|
tests / Python Tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 flaky
[chromium] › status/status.spec.js:39:3 › site status › Doesn't render dismissed server statuses
28 passed (2.9m)
|
🎭 Playwright Run Summary
3 passed (14.4s)
|
🎭 Playwright Run Summary
3 passed (12.9s)
|
🎭 Playwright Run Summary
3 skipped
26 passed (5.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage
|
96.3 KB |
|
geckodriverlog
|
5.08 KB |
|
playwright-results-chromium
|
117 KB |
|