Landing page tests #145
Annotations
10 errors, 2 warnings, and 1 notice
[chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content:
tests/pages/landing-page.spec.js#L47
1) [chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="WHAT WE DO"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="WHAT WE DO"')
45 | // eslint-disable-next-line quotes
46 | const whatWeDoSection = page.locator('text="WHAT WE DO"');
> 47 | await expect(whatWeDoSection).toBeVisible();
| ^
48 |
49 | const whatWeDoContent = page.locator(".what-we-do-content");
50 | await expect(whatWeDoContent).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:47:35
|
[chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content:
tests/pages/landing-page.spec.js#L47
1) [chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="WHAT WE DO"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="WHAT WE DO"')
45 | // eslint-disable-next-line quotes
46 | const whatWeDoSection = page.locator('text="WHAT WE DO"');
> 47 | await expect(whatWeDoSection).toBeVisible();
| ^
48 |
49 | const whatWeDoContent = page.locator(".what-we-do-content");
50 | await expect(whatWeDoContent).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:47:35
|
[chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content:
tests/pages/landing-page.spec.js#L47
1) [chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="WHAT WE DO"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="WHAT WE DO"')
45 | // eslint-disable-next-line quotes
46 | const whatWeDoSection = page.locator('text="WHAT WE DO"');
> 47 | await expect(whatWeDoSection).toBeVisible();
| ^
48 |
49 | const whatWeDoContent = page.locator(".what-we-do-content");
50 | await expect(whatWeDoContent).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:47:35
|
[chromium] › pages/landing-page.spec.js:54:3 › Landing page tests › Check 'OUR EVENTS' section title:
tests/pages/landing-page.spec.js#L63
2) [chromium] › pages/landing-page.spec.js:54: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()
61 | // checks if at least one event card is displayed
62 | const eventCards = page.locator("data-testid=event-cards").first();
> 63 | await expect(eventCards).toBeVisible();
| ^
64 |
65 | const viewMoreEventsButton = page.locator("data-testid=events-view-more");
66 | await expect(viewMoreEventsButton).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:63:30
|
[chromium] › pages/landing-page.spec.js:54:3 › Landing page tests › Check 'OUR EVENTS' section title:
tests/pages/landing-page.spec.js#L63
2) [chromium] › pages/landing-page.spec.js:54: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()
61 | // checks if at least one event card is displayed
62 | const eventCards = page.locator("data-testid=event-cards").first();
> 63 | await expect(eventCards).toBeVisible();
| ^
64 |
65 | const viewMoreEventsButton = page.locator("data-testid=events-view-more");
66 | await expect(viewMoreEventsButton).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:63:30
|
[chromium] › pages/landing-page.spec.js:54:3 › Landing page tests › Check 'OUR EVENTS' section title:
tests/pages/landing-page.spec.js#L63
2) [chromium] › pages/landing-page.spec.js:54: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()
61 | // checks if at least one event card is displayed
62 | const eventCards = page.locator("data-testid=event-cards").first();
> 63 | await expect(eventCards).toBeVisible();
| ^
64 |
65 | const viewMoreEventsButton = page.locator("data-testid=events-view-more");
66 | await expect(viewMoreEventsButton).toBeVisible();
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:63:30
|
[chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card:
tests/pages/landing-page.spec.js#L75
3) [chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="OUR IMPACT"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="OUR IMPACT"')
73 | // eslint-disable-next-line quotes
74 | const ourImpactSection = page.locator('text="OUR IMPACT"');
> 75 | await expect(ourImpactSection).toBeVisible();
| ^
76 |
77 | const statsCards = page.locator(".stats-card");
78 | await expect(statsCards).toHaveCountGreaterThan(0);
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:75:36
|
[chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card:
tests/pages/landing-page.spec.js#L75
3) [chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="OUR IMPACT"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="OUR IMPACT"')
73 | // eslint-disable-next-line quotes
74 | const ourImpactSection = page.locator('text="OUR IMPACT"');
> 75 | await expect(ourImpactSection).toBeVisible();
| ^
76 |
77 | const statsCards = page.locator(".stats-card");
78 | await expect(statsCards).toHaveCountGreaterThan(0);
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:75:36
|
[chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card:
tests/pages/landing-page.spec.js#L75
3) [chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('text="OUR IMPACT"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('text="OUR IMPACT"')
73 | // eslint-disable-next-line quotes
74 | const ourImpactSection = page.locator('text="OUR IMPACT"');
> 75 | await expect(ourImpactSection).toBeVisible();
| ^
76 |
77 | const statsCards = page.locator(".stats-card");
78 | await expect(statsCards).toHaveCountGreaterThan(0);
at /home/runner/work/SYT-Web-Redesign/SYT-Web-Redesign/tests/pages/landing-page.spec.js:75:36
|
[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
4) [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
|
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
10 failed
[chromium] › pages/landing-page.spec.js:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content
[chromium] › pages/landing-page.spec.js:54:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button
[chromium] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card
[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:44:3 › Landing page tests › Check 'WHAT WE DO' section title and content
[webkit] › pages/landing-page.spec.js:54:3 › Landing page tests › Check 'OUR EVENTS' section title, events card, and 'View More' button
[webkit] › pages/landing-page.spec.js:72:3 › Landing page tests › Check 'OUR IMPACT' section title and stats card
[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
14 passed (3.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
27.9 MB |
|