Skip to content

Fix E2E test Filedownload issue #2045

Fix E2E test Filedownload issue

Fix E2E test Filedownload issue #2045

Triggered via pull request August 30, 2024 21:57
Status Success
Total duration 8m 48s
Artifacts 7

frontend_ci.yml

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

Annotations

6 errors, 13 warnings, and 1 notice
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:288:21 › Daily Data page › admin user › with org selected › filter › with receiver selected › with 'From' date: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L308
1) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:288:21 › Daily Data page › admin user › with org selected › filter › with receiver selected › with 'From' date, 'To' date, 'Start time' Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('filter-status') Expected string: " Showing all data for: FULL_ELR, 08/16/2024–08/30/2024, 9:00am–11:59pm" Received string: " Showing all data for: 12: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: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" 306 | `${defaultStartTime}–${"11:59pm"}`, 307 | ]); > 308 | await expect(dailyDataPage.page.getByTestId("filter-status")).toContainText(filterStatusText); | ^ 309 | }); 310 | 311 | test("with 'From' date, 'To' date, 'End time'", async ({ dailyDataPage }) => { at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:308:87
[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:761:17 › Daily Data page › receiver user › filter › with receiver selected › with 'Start time' and 'End time': frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L781
3) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:761:17 › Daily Data page › receiver user › filter › with receiver selected › with 'Start time' and 'End time' Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('#start-time') Expected string: "" Received string: "9:00am" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('#start-time') - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-time--assistiveHint"/> - unexpected value "9:00am" - locator resolved to <input type="text" value="9:00am" role="combobox" id="start-time" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="start-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="start-time--list" aria-describedby="start-
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:826:17 › Daily Data page › receiver user › filter › with receiver selected › with 'From' date: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L846
4) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:826:17 › Daily Data page › receiver user › filter › with receiver selected › with 'From' date, 'To' date, 'End time' Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('filter-status') Expected string: " Showing all data for: elr, 08/16/2024–08/30/2024, 12:00am–11:00pm" Received string: " Showing all data for: 12: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: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" - locator resolved to <div class="margin-left-2" data-testid="filter-status">…</div> - unexpected value " Showing all data for: 12:00am–11:59pm" 844 | `${"12:00am"}–${defaultEndTime}`, 845 | ]); > 846 | await expect(dailyDataPage.page.getByTestId("filter-status")).toContainText(filterStatusText); | ^ 847 | }); 848 | 849 | test("with 'From' date, 'To' date, 'Start time', 'End time'", async ({ dailyDataPage }) => { at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:846:83
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:939:17 › Daily Data page › receiver user › filter › no receiver selected › with 'Start time' and 'End time': frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L951
5) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:939:17 › Daily Data page › receiver user › filter › no receiver selected › with 'Start time' and 'End time' Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('#end-time') Expected string: "" Received string: "11:00pm" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('#end-time') - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm" - locator resolved to <input type="text" id="end-time" role="combobox" value="11:00pm" autocomplete="off" autocapitalize="off" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" aria-owns="end-time--list" class="usa-combo-box__input" data-testid="combo-box-input" aria-controls="end-time--list" aria-describedby="end-time--assistiveHint"/> - unexpected value "11:00pm"
[webkit] › spec/all/authenticated/daily-data-page.spec.ts:1185:13 › Daily Data page › receiver user › table › has pagination: frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts#L1186
6) [webkit] › spec/all/authenticated/daily-data-page.spec.ts:1185:13 › Daily Data page › receiver user › table › has pagination Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('[aria-label="Pagination"]') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('[aria-label="Pagination"]') 1184 | 1185 | test("has pagination", async ({ dailyDataPage }) => { > 1186 | await expect(dailyDataPage.page.locator('[aria-label="Pagination"]')).toBeAttached(); | ^ 1187 | }); 1188 | }); 1189 | }); at /home/runner/work/prime-reportstream/prime-reportstream/frontend-react/e2e/spec/all/authenticated/daily-data-page.spec.ts:1186:87
Pre Job
`pre` execution is not supported for local action from './.github/actions/build-vars'
Pre Job
`pre` execution is not supported for local action from './.github/actions/build-vars'
Lint: frontend-react/e2e/spec/all/authenticated/admin/receiver-status-page.spec.ts#L163
Maximum describe call depth exceeded (6). Maximum allowed is 5
Lint: frontend-react/e2e/spec/all/authenticated/admin/receiver-status-page.spec.ts#L323
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
🎭 Playwright Run Summary
6 flaky [webkit] › spec/all/authenticated/daily-data-page.spec.ts:288:21 › Daily Data page › admin user › with org selected › filter › with receiver selected › with 'From' date, 'To' date, 'Start time' [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:761:17 › Daily Data page › receiver user › filter › with receiver selected › with 'Start time' and 'End time' [webkit] › spec/all/authenticated/daily-data-page.spec.ts:826:17 › Daily Data page › receiver user › filter › with receiver selected › with 'From' date, 'To' date, 'End time' [webkit] › spec/all/authenticated/daily-data-page.spec.ts:939:17 › Daily Data page › receiver user › filter › no receiver selected › with 'Start time' and 'End time' [webkit] › spec/all/authenticated/daily-data-page.spec.ts:1185:13 › Daily Data page › receiver user › table › has pagination 25 skipped 940 passed (5.4m)

Artifacts

Produced during runtime
Name Size
frontend-e2e-data--attempt-1 Expired
18.8 MB
frontend-e2e-data--shard-1 Expired
372 KB
frontend-e2e-data--shard-2 Expired
213 KB
frontend-e2e-data--shard-3 Expired
342 KB
frontend-e2e-data--shard-4 Expired
200 KB
frontend-e2e-data--shard-5 Expired
16.7 MB
frontend-e2e-data--shard-6 Expired
196 KB