refactor: helper for session recording URL; fix test #3224
ci-run-tests.yml
on: pull_request
tests
/
Python Tests
31m 22s
Matrix: tests / Playwright Legacy Tests
Matrix: tests / Playwright Tests
Annotations
5 errors and 4 notices
[firefox] › status/status.spec.js:35:3 › site status › Doesn't render dismissed server statuses:
playwright/tests/status/status.spec.js#L45
1) [firefox] › status/status.spec.js:35: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"
43 | await page.goto('/')
44 | await page.evaluate(({ key, value }) => localStorage.setItem(key, value), { key: STATUS_STORAGE_KEY, value: JSON.stringify([status1.id]) })
> 45 | await expect(page.getByTestId(generateStatusTestId(status1.id)), 'should have status').toHaveCount(0)
| ^
46 | })
47 |
48 | test('Handles no server status', async ({ page }) => {
at /Users/runner/work/datatracker/datatracker/playwright/tests/status/status.spec.js:45:92
|
[firefox] › status/status.spec.js:35:3 › site status › Doesn't render dismissed server statuses:
playwright/tests/status/status.spec.js#L45
1) [firefox] › status/status.spec.js:35: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"
43 | await page.goto('/')
44 | await page.evaluate(({ key, value }) => localStorage.setItem(key, value), { key: STATUS_STORAGE_KEY, value: JSON.stringify([status1.id]) })
> 45 | await expect(page.getByTestId(generateStatusTestId(status1.id)), 'should have status').toHaveCount(0)
| ^
46 | })
47 |
48 | test('Handles no server status', async ({ page }) => {
at /Users/runner/work/datatracker/datatracker/playwright/tests/status/status.spec.js:45:92
|
[firefox] › status/status.spec.js:35:3 › site status › Doesn't render dismissed server statuses:
playwright/tests/status/status.spec.js#L45
1) [firefox] › status/status.spec.js:35:3 › site status › Doesn't render dismissed server statuses
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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"
43 | await page.goto('/')
44 | await page.evaluate(({ key, value }) => localStorage.setItem(key, value), { key: STATUS_STORAGE_KEY, value: JSON.stringify([status1.id]) })
> 45 | await expect(page.getByTestId(generateStatusTestId(status1.id)), 'should have status').toHaveCount(0)
| ^
46 | })
47 |
48 | test('Handles no server status', async ({ page }) => {
at /Users/runner/work/datatracker/datatracker/playwright/tests/status/status.spec.js:45:92
|
tests / Playwright Tests (firefox)
Process completed with exit code 1.
|
tests / Python Tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
29 passed (2.1m)
|
🎭 Playwright Run Summary
3 passed (12.4s)
|
🎭 Playwright Run Summary
3 passed (14.8s)
|
🎭 Playwright Run Summary
1 failed
[firefox] › status/status.spec.js:35:3 › site status › Doesn't render dismissed server statuses
28 passed (5.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage
Expired
|
96.3 KB |
|
geckodriverlog
Expired
|
4.49 KB |
|
playwright-results-firefox
Expired
|
134 KB |
|