Skip to content

[199][Feedback wanted] Documentation on how to customize content #266

[199][Feedback wanted] Documentation on how to customize content

[199][Feedback wanted] Documentation on how to customize content #266

Triggered via pull request February 12, 2025 19:32
Status Failure
Total duration 56s
Artifacts 2

test-example-site.yml

on: pull_request
build-and-test
47s
build-and-test
publish-reports
0s
publish-reports
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
e2e/list-style.spec.ts:6:7 › List style functionality › summary style shows full post previews: tests/e2e/list-style.spec.ts#L11
1) e2e/list-style.spec.ts:6:7 › List style functionality › summary style shows full post previews Error: expect.toBeVisible: Error: strict mode violation: locator('article.post.summary') resolved to 2 elements: 1) <article class="post summary col-12">…</article> aka locator('article').filter({ hasText: 'Create your own version of' }) 2) <article class="post summary col-12">…</article> aka locator('article').filter({ hasText: 'Sample blog content 1' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('article.post.summary') 9 | // Check for summary style elements 10 | const articleSummary = page.locator('article.post.summary'); > 11 | await expect(articleSummary).toBeVisible(); | ^ 12 | 13 | // Verify summary components are present 14 | await expect(page.locator('article.post.summary h2').first()).toBeVisible(); at /home/runner/work/adritian-free-hugo-theme/adritian-free-hugo-theme/tests/e2e/list-style.spec.ts:11:34
e2e/tags.spec.ts:12:7 › Tag functionality › verify there are 2 tags: tests/e2e/tags.spec.ts#L18
2) e2e/tags.spec.ts:12:7 › Tag functionality › verify there are 2 tags, each with 1 article ────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Sample (1)') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Sample (1)') 16 | // Each item shows how many articles 17 | // e.g. "Lorem-Ipsum (1)" or "Sample (1)" > 18 | await expect(page.getByText('Sample (1)')).toBeVisible(); | ^ 19 | }); 20 | 21 | test('click on a tag -> renders the tag page', async ({ page }) => { at /home/runner/work/adritian-free-hugo-theme/adritian-free-hugo-theme/tests/e2e/tags.spec.ts:18:48
build-and-test
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed e2e/list-style.spec.ts:6:7 › List style functionality › summary style shows full post previews ─ e2e/tags.spec.ts:12:7 › Tag functionality › verify there are 2 tags, each with 1 article ─────── 6 skipped 21 passed (12.3s)

Artifacts

Produced during runtime
Name Size
github-pages
2.51 MB
playwright-report
2.57 MB