Skip to content

Landing page tests #155

Landing page tests

Landing page tests #155

Triggered via pull request October 24, 2024 06:09
Status Failure
Total duration 3m 24s
Artifacts 1

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 2 warnings, and 1 notice
[chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
1) [chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
[chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
1) [chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
[chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
1) [chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
[webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
2) [webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
[webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
2) [webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
[webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
2) [webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=event-cards').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=event-cards').first() 60 | // checks if at least one event card is displayed 61 | const eventCards = page.locator("data-testid=event-cards").first(); > 62 | await expect(eventCards).toBeVisible(); | ^ 63 | 64 | const viewMoreEventsButton = page.locator("data-testid=events-view-more"); 65 | await expect(viewMoreEventsButton).toBeVisible(); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:62:30
tests
Process completed with exit code 1.
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/
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/
🎭 Playwright Run Summary
2 failed [chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button [webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button 22 passed (1.3m)

Artifacts

Produced during runtime
Name Size
playwright-report
7.65 MB