Bump @playwright/test from 1.48.1 to 1.48.2 #52
playwright.yml
on: pull_request
playwright-tests
1m 16s
Annotations
1 error and 1 notice
[firefox] › draft-post.spec.ts:14:7 › Draft Post Tests › Verify Draft Post is only visible locally:
tests/draft-post.spec.ts#L16
1) [firefox] › draft-post.spec.ts:14:7 › Draft Post Tests › Verify Draft Post is only visible locally
Error: expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:8080/eleventy-satisfactory/a-draft-post/"
Received string: "https://code.mendhak.com/eleventy-satisfactory/a-draft-post/"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://code.mendhak.com/eleventy-satisfactory/a-draft-post/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://code.mendhak.com/eleventy-satisfactory/a-draft-post/"
14 | test('Verify Draft Post is only visible locally', async ({ page }) => {
15 | await page.getByRole('link', {name: 'This draft post should only appear locally', exact: true} ).click();
> 16 | expect(page).toHaveURL(siteURL + 'a-draft-post/');
| ^
17 |
18 | // Ensure the draft post is not visible on the live site
19 | await page.goto('https://code.mendhak.com/eleventy-satisfactory/a-draft-post/')
at /home/runner/work/eleventy-satisfactory/eleventy-satisfactory/tests/draft-post.spec.ts:16:24
|
🎭 Playwright Run Summary
1 flaky
[firefox] › draft-post.spec.ts:14:7 › Draft Post Tests › Verify Draft Post is only visible locally
16 passed (20.5s)
|