Skip to content

Tests to event page components addition (#229) #171

Tests to event page components addition (#229)

Tests to event page components addition (#229) #171

Triggered via pull request November 12, 2024 12:32
Status Failure
Total duration 11m 6s
Artifacts 1

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel: tests/pages/events-page.spec.js#L29
1) [chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Featured Events') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text=Featured Events') 27 | test("should have a featured carousel", async ({ page }) => { 28 | const featuredCarousel = page.locator("text=Featured Events"); > 29 | await expect(featuredCarousel).toBeVisible(); | ^ 30 | }); 31 | test("should have a Search event", async ({ page }) => { 32 | await expect(page.getByRole("button", { name: "Search" })).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:29:36
[chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel: tests/pages/events-page.spec.js#L29
1) [chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Featured Events') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text=Featured Events') 27 | test("should have a featured carousel", async ({ page }) => { 28 | const featuredCarousel = page.locator("text=Featured Events"); > 29 | await expect(featuredCarousel).toBeVisible(); | ^ 30 | }); 31 | test("should have a Search event", async ({ page }) => { 32 | await expect(page.getByRole("button", { name: "Search" })).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:29:36
[chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel: tests/pages/events-page.spec.js#L29
1) [chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Featured Events') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text=Featured Events') 27 | test("should have a featured carousel", async ({ page }) => { 28 | const featuredCarousel = page.locator("text=Featured Events"); > 29 | await expect(featuredCarousel).toBeVisible(); | ^ 30 | }); 31 | test("should have a Search event", async ({ page }) => { 32 | await expect(page.getByRole("button", { name: "Search" })).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:29:36
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L1
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Test timeout of 30000ms exceeded.
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L35
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-testId="events-list"]') to be visible 33 | }); 34 | test("should have event list on start", async ({ page }) => { > 35 | await page.waitForSelector('[data-testId="events-list"]'); | ^ 36 | const eventsList = page.getByTestId("events-list"); 37 | await expect(eventsList).toBeVisible(); 38 | }); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:35:16
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L1
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L35
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-testId="events-list"]') to be visible 33 | }); 34 | test("should have event list on start", async ({ page }) => { > 35 | await page.waitForSelector('[data-testId="events-list"]'); | ^ 36 | const eventsList = page.getByTestId("events-list"); 37 | await expect(eventsList).toBeVisible(); 38 | }); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:35:16
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L1
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start: tests/pages/events-page.spec.js#L35
2) [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-testId="events-list"]') to be visible 33 | }); 34 | test("should have event list on start", async ({ page }) => { > 35 | await page.waitForSelector('[data-testId="events-list"]'); | ^ 36 | const eventsList = page.getByTestId("events-list"); 37 | await expect(eventsList).toBeVisible(); 38 | }); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/events-page.spec.js:35:16
[chromium] › pages/events-page.spec.js:40:3 › Events page tests › should have categories list on start: tests/pages/events-page.spec.js#L1
3) [chromium] › pages/events-page.spec.js:40:3 › Events page tests › should have categories list on start Test timeout of 30000ms exceeded.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
6 failed [chromium] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel [chromium] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start [chromium] › pages/events-page.spec.js:40:3 › Events page tests › should have categories list on start [webkit] › pages/events-page.spec.js:27:3 › Events page tests › should have a featured carousel [webkit] › pages/events-page.spec.js:34:3 › Events page tests › should have event list on start [webkit] › pages/events-page.spec.js:40:3 › Events page tests › should have categories list on start 20 passed (7.4m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
25.3 MB