Skip to content

[NOT READY] Playwright #27

[NOT READY] Playwright

[NOT READY] Playwright #27

Triggered via pull request October 29, 2024 12:15
@macobomacobo
synchronize #4752
playwright
Status Failure
Total duration 3m 42s
Artifacts

playwright-e2e.yml

on: pull_request
E2E playwright tests
3m 34s
E2E playwright tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
E2E playwright tests
SyntaxError: /home/runner/work/analytics/analytics/assets/playwright-tests/playwright.ts: Unexpected token (14:55) 12 | // 13 | // Idea from https://www.checklyhq.com/blog/track-frontend-javascript-exceptions-with-playwright/ > 14 | export const test = playwrightTest.extend<{ page: void }>({ | ^ 15 | page: async ({ page }: { page: any }, use: any) => { 16 | const errors: Array<Error> = [] 17 | at global.setup.ts:14 12 | await page.getByRole('button', { name: 'Log in' }).click() 13 | > 14 | await page.waitForURL("/sites") | ^ 15 | await expect(page.locator("body")).toHaveText(/My Sites/) 16 | await expect(page.locator("body")).toHaveText(/dummy.site/) 17 | at Object.<anonymous> (/home/runner/work/analytics/analytics/assets/playwright-tests/global.setup.ts:1:1)
E2E playwright tests
SyntaxError: /home/runner/work/analytics/analytics/assets/playwright-tests/playwright.ts: Unexpected token (14:55) 12 | // 13 | // Idea from https://www.checklyhq.com/blog/track-frontend-javascript-exceptions-with-playwright/ > 14 | export const test = playwrightTest.extend<{ page: void }>({ | ^ 15 | page: async ({ page }: { page: any }, use: any) => { 16 | const errors: Array<Error> = [] 17 | at dashboard.spec.ts:14 12 | { key: 'Regions', sectionSelector: 'section::locations' }, 13 | { key: 'Cities', sectionSelector: 'section::locations' }, > 14 | { key: 'Browser', sectionSelector: 'section::devices' }, | ^ 15 | { key: 'OS', sectionSelector: 'section::devices' }, 16 | { key: 'Size', sectionSelector: 'section::devices' }, 17 | { key: 'Goals', sectionSelector: 'section::behaviors' }, at Object.<anonymous> (/home/runner/work/analytics/analytics/assets/playwright-tests/dashboard.spec.ts:1:1)
E2E playwright tests
SyntaxError: /home/runner/work/analytics/analytics/assets/playwright-tests/playwright.ts: Unexpected token (14:55) 12 | // 13 | // Idea from https://www.checklyhq.com/blog/track-frontend-javascript-exceptions-with-playwright/ > 14 | export const test = playwrightTest.extend<{ page: void }>({ | ^ 15 | page: async ({ page }: { page: any }, use: any) => { 16 | const errors: Array<Error> = [] 17 | at sites.spec.ts:14 12 | 13 | await expect(page.locator("body")).toHaveText(/\d+\s+current visitors/) > 14 | }) | ^ 15 | at Object.<anonymous> (/home/runner/work/analytics/analytics/assets/playwright-tests/sites.spec.ts:1:1)
E2E playwright tests
Error: No tests found
E2E playwright tests
Process completed with exit code 1.