Skip to content

feat(gha): add playwright tests & GHA workflow #42

feat(gha): add playwright tests & GHA workflow

feat(gha): add playwright tests & GHA workflow #42

Triggered via pull request September 7, 2023 13:37
Status Failure
Total duration 4m 27s
Artifacts

pr_deploy.yml

on: pull_request
Get ref
6s
Get ref
Deploy  /  Commit
9s
Deploy / Commit
Deploy  /  Wait for environment readiness
2m 17s
Deploy / Wait for environment readiness
End-to-end Tests
1m 21s
End-to-end Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
[chromium] › example.spec.ts:10:5 › has title: e2e/tests/example.spec.ts#L12
1) [chromium] › example.spec.ts:10:5 › has title ───────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveTitle(expected) Expected string: "GreenSTAR" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" - locator resolved to <html>…</html> - unexpected value "" 10 | test('has title', async ({page}) => { 11 | await page.goto(`https://acme.${ENV_NAME}.greenstar.kfirs.com/`); > 12 | await expect(page).toHaveTitle("GreenSTAR"); | ^ 13 | }); 14 | 15 | at /home/runner/work/greenstar/greenstar/e2e/tests/example.spec.ts:12:24
End-to-end Tests
Process completed with exit code 1.
End-to-end Tests
No files were found with the provided path: e2e/playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 failed [chromium] › example.spec.ts:10:5 › has title ──────────────────────────────────────────────────