Skip to content

15839 - E2e tests (mock data) for all of Org/Receiver/Sender Settings Pages #2497

15839 - E2e tests (mock data) for all of Org/Receiver/Sender Settings Pages

15839 - E2e tests (mock data) for all of Org/Receiver/Sender Settings Pages #2497

Triggered via pull request September 19, 2024 22:33
Status Success
Total duration 7m 59s
Artifacts 7

frontend_ci.yml

on: pull_request
Pre Job
5s
Pre Job
Matrix: E2E tests
E2E Tests Result
0s
E2E Tests Result
Merge E2E Data
25s
Merge E2E Data
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 12 warnings, and 1 notice
[firefox] › spec/all/authenticated/daily-data-page.spec.ts:661:17 › Daily Data page › receiver user › filter › onLoad › 'From' date does not have a value: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L662
1) [firefox] › spec/all/authenticated/daily-data-page.spec.ts:661:17 › Daily Data page › receiver user › filter › onLoad › 'From' date does not have a value Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('#start-date') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('#start-date') 660 | 661 | test("'From' date does not have a value", async ({ dailyDataPage }) => { > 662 | await expect(startDate(dailyDataPage.page)).toBeAttached(); | ^ 663 | await expect(startDate(dailyDataPage.page)).toHaveValue(""); 664 | }); 665 | at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:662:65
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:476:21 › Daily Data page › admin user › with org selected › filter › no receiver selected › with 'From' date: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L483
2) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:476:21 › Daily Data page › admin user › with org selected › filter › no receiver selected › with 'From' date, 'To' date, 'Start time' before 'End time' Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute() Locator: getByRole('button', { name: 'Apply' }) Expected: have attribute Received: not have attribute Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for getByRole('button', { name: 'Apply' }) - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" - locator resolved to <button type="submit" data-testid="button" class="usa-button margin-right-205">Apply</button> - unexpected value "false" 481 | 482 | // Apply button is disabled > 483 | await expect(applyButton(dailyDataPage.page)).toHaveAttribute("disabled"); | ^ 484 | }); 485 | }); 486 | at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:483:71
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:1143:13 › Daily Data page › receiver user › search › clears filters on search: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L1160
3) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:1143:13 › Daily Data page › receiver user › search › clears filters on search Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('filter-status') Expected string: " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:00pm" Received string: " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" Call log: - expect.toContainText with timeout 5000ms - waiting for getByTestId('filter-status') - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: elr, 09/05/2024–09/19/2024, 9:00am–11:59pm" 1158 | `${defaultStartTime}–${defaultEndTime}`, 1159 | ]); > 1160 | await expect(dailyDataPage.page.getByTestId("filter-status")).toContainText(filterStatusText); | ^ 1161 | 1162 | // Search by Report ID 1163 | const reportId = await tableDataCellValue(dailyDataPage.page, 0, 0); at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:1160:79
Lint: frontend-react/e2e/spec/all/authenticated/admin/receiver-status-page.spec.ts#L153
Maximum describe call depth exceeded (6). Maximum allowed is 5
Lint: frontend-react/e2e/spec/all/authenticated/admin/receiver-status-page.spec.ts#L274
Maximum describe call depth exceeded (6). Maximum allowed is 5
Lint: frontend-react/e2e/spec/all/idletimeout.spec.ts#L47
Unexpected use of the `.skip()` annotation
Lint: frontend-react/e2e/spec/all/public/about/about-page.spec.ts#L148
Avoid calling `expect` conditionally`
Slow Test: frontend-react/[setup] › helpers/auth.setup.ts#L1
frontend-react/[setup] › helpers/auth.setup.ts took 1.3m
Slow Test: frontend-react/[chromium] › spec/chromium-only/public-pages-link-check.spec.ts#L1
frontend-react/[chromium] › spec/chromium-only/public-pages-link-check.spec.ts took 51.9s
🎭 Playwright Run Summary
3 flaky [firefox] › spec/all/authenticated/daily-data-page.spec.ts:661:17 › Daily Data page › receiver user › filter › onLoad › 'From' date does not have a value [webkit] › spec/all/authenticated/daily-data-page.spec.ts:476:21 › Daily Data page › admin user › with org selected › filter › no receiver selected › with 'From' date, 'To' date, 'Start time' before 'End time' [webkit] › spec/all/authenticated/daily-data-page.spec.ts:1143:13 › Daily Data page › receiver user › search › clears filters on search 13 skipped 1038 passed (4.7m)

Artifacts

Produced during runtime
Name Size
frontend-e2e-data--attempt-1 Expired
8.98 MB
frontend-e2e-data--shard-1 Expired
342 KB
frontend-e2e-data--shard-2 Expired
258 KB
frontend-e2e-data--shard-3 Expired
365 KB
frontend-e2e-data--shard-4 Expired
1.42 MB
frontend-e2e-data--shard-5 Expired
2.7 MB
frontend-e2e-data--shard-6 Expired
2.98 MB