Add Html payload helper type #137
Annotations
2 errors and 1 notice
|
Run integration tests:
tests/specs/tests.spec.ts#L436
2) specs/tests.spec.ts:415:9 › Auto-refresh behavior › Clicking observation to open side panel preserves current page (log tab)
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('PaginationInfo')
Timeout: 30000ms
- Expected substring - 1
+ Received string + 4
- of 150
+
+ showing 1-100 of 119
+ (page 1)
+
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for getByTestId('PaginationInfo')
34 × locator resolved to <p data-testid="PaginationInfo" class="mb-2 text-base-content/60 text-sm">↵ showing 1-100 of 119↵ …</p>
- unexpected value "
showing 1-100 of 119
(page 1)
"
434 |
435 | // Wait for all observations to be received by the server
> 436 | await expect(page.getByTestId(TestId.PaginationInfo)).toContainText(
| ^
437 | `of ${totalObservations}`,
438 | {
439 | timeout: 30000,
at /home/runner/work/observation-tools-client/observation-tools-client/tests/specs/tests.spec.ts:436:61
|
|
Run integration tests:
tests/specs/tests.spec.ts#L142
1) specs/tests.spec.ts:129:5 › Observation list pagination with 396 observations ─────────────────
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('PaginationInfo')
Timeout: 30000ms
- Expected substring - 1
+ Received string + 4
- of 396
+
+ showing 1-100 of 370
+ (page 1)
+
Call log:
- Expect "toContainText" with timeout 30000ms
- waiting for getByTestId('PaginationInfo')
34 × locator resolved to <p data-testid="PaginationInfo" class="mb-2 text-base-content/60 text-sm">↵ showing 1-100 of 370↵ …</p>
- unexpected value "
showing 1-100 of 370
(page 1)
"
140 | await expect(page.getByTestId(TestId.ObservationListItem).first()).toBeVisible();
141 | // Wait for all observations to be received by the server (auto-refresh will pick them up)
> 142 | await expect(page.getByTestId(TestId.PaginationInfo)).toContainText(`of ${totalObservations}`, {
| ^
143 | timeout: 30000,
144 | });
145 | const observationItems = page.getByTestId(TestId.ObservationListItem);
at /home/runner/work/observation-tools-client/observation-tools-client/tests/specs/tests.spec.ts:142:57
|
|
Run integration tests
2 flaky
specs/tests.spec.ts:129:5 › Observation list pagination with 396 observations ──────────────────
specs/tests.spec.ts:415:9 › Auto-refresh behavior › Clicking observation to open side panel preserves current page (log tab)
18 passed (2.5m)
|
Loading