Skip to content

Landing page tests #146

Landing page tests

Landing page tests #146

Triggered via pull request September 18, 2024 07:20
Status Failure
Total duration 4m 17s
Artifacts 1

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 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
[chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee: tests/pages/landing-page.spec.js#L86
2) [chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="TESTIMONIALS"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="TESTIMONIALS"') 84 | // eslint-disable-next-line quotes 85 | const testimonialsSection = page.locator('text="TESTIMONIALS"'); > 86 | await expect(testimonialsSection).toBeVisible(); | ^ 87 | 88 | const testimonialCards = page.locator(".testimonial-card"); 89 | await expect(testimonialCards).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:86:39
[chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee: tests/pages/landing-page.spec.js#L86
2) [chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="TESTIMONIALS"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="TESTIMONIALS"') 84 | // eslint-disable-next-line quotes 85 | const testimonialsSection = page.locator('text="TESTIMONIALS"'); > 86 | await expect(testimonialsSection).toBeVisible(); | ^ 87 | 88 | const testimonialCards = page.locator(".testimonial-card"); 89 | await expect(testimonialCards).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:86:39
[chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee: tests/pages/landing-page.spec.js#L86
2) [chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="TESTIMONIALS"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="TESTIMONIALS"') 84 | // eslint-disable-next-line quotes 85 | const testimonialsSection = page.locator('text="TESTIMONIALS"'); > 86 | await expect(testimonialsSection).toBeVisible(); | ^ 87 | 88 | const testimonialCards = page.locator(".testimonial-card"); 89 | await expect(testimonialCards).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:86:39
[chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion: tests/pages/landing-page.spec.js#L98
3) [chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="FAQ"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="FAQ"') 96 | // eslint-disable-next-line quotes 97 | const faqSection = page.locator('text="FAQ"'); > 98 | await expect(faqSection).toBeVisible(); | ^ 99 | 100 | const faqAccordions = page.locator(".faq-accordion"); // Adjust selector as needed 101 | await expect(faqAccordions).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:98:30
[chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion: tests/pages/landing-page.spec.js#L98
3) [chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="FAQ"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="FAQ"') 96 | // eslint-disable-next-line quotes 97 | const faqSection = page.locator('text="FAQ"'); > 98 | await expect(faqSection).toBeVisible(); | ^ 99 | 100 | const faqAccordions = page.locator(".faq-accordion"); // Adjust selector as needed 101 | await expect(faqAccordions).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:98:30
[chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion: tests/pages/landing-page.spec.js#L98
3) [chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('text="FAQ"') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="FAQ"') 96 | // eslint-disable-next-line quotes 97 | const faqSection = page.locator('text="FAQ"'); > 98 | await expect(faqSection).toBeVisible(); | ^ 99 | 100 | const faqAccordions = page.locator(".faq-accordion"); // Adjust selector as needed 101 | await expect(faqAccordions).toHaveCountGreaterThan(0); at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:98:30
[webkit] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title: tests/pages/landing-page.spec.js#L62
4) [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
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
6 failed [chromium] › pages/landing-page.spec.js:53:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button [chromium] › pages/landing-page.spec.js:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee [chromium] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion [webkit] › 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:81:3 › Landing page tests › Check 'TESTIMONIALS' section title and testimonial card in marquee [webkit] › pages/landing-page.spec.js:95:3 › Landing page tests › Check 'FAQ' section title and FAQ accordion 18 passed (2.5m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
17.6 MB