fix: session duration can't be updated #27
Annotations
3 errors and 1 notice
frontend/tests/application-configuration.spec.ts#L20
1) [chromium] › application-configuration.spec.ts:6:1 › Update general configuration ─────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('session-duration')
Expected string: "30"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('session-duration')
18 |
19 | await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
> 20 | await expect(page.getByTestId('session-duration')).toHaveText('30');
| ^
21 | });
22 |
23 | test('Update application images', async ({ page }) => {
at /home/runner/work/pocket-id/pocket-id/frontend/tests/application-configuration.spec.ts:20:53
|
frontend/tests/application-configuration.spec.ts#L20
1) [chromium] › application-configuration.spec.ts:6:1 › Update general configuration ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('session-duration')
Expected string: "30"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('session-duration')
18 |
19 | await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
> 20 | await expect(page.getByTestId('session-duration')).toHaveText('30');
| ^
21 | });
22 |
23 | test('Update application images', async ({ page }) => {
at /home/runner/work/pocket-id/pocket-id/frontend/tests/application-configuration.spec.ts:20:53
|
|
|
This job failed
Loading