feat(gha): add playwright tests & GHA workflow #46
pr_deploy.yml
on: pull_request
Annotations
4 errors and 1 notice
[chromium] › example.spec.ts:10:5 › has title:
e2e/tests/example.spec.ts#L1
1) [chromium] › example.spec.ts:10:5 › has title ─────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › example.spec.ts:10:5 › has title:
e2e/tests/example.spec.ts#L17
1) [chromium] › example.spec.ts:10:5 › has title ─────────────────────────────────────────────────
Error: expect(received).toHaveTitle(expected)
Expected string: "GreenSTAR"
Received string: ""
Call log:
- expect.toHaveTitle with timeout 60000ms
- 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 ""
- 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 ""
- 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 ""
- 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 ""
15 | timeout: 1000 * 60,
16 | });
> 17 | await expect(page).toHaveTitle("GreenSTAR", {
| ^
18 | timeout: 1000 * 60,
19 | });
20 | });
at /home/runner/work/greenstar/greenstar/e2e/tests/example.spec.ts:17:24
|
[chromium] › example.spec.ts:10:5 › has title:
e2e/tests/example.spec.ts#L1
1) [chromium] › example.spec.ts:10:5 › has title ─────────────────────────────────────────────────
Pending operations:
- expect.toHaveTitle at tests/example.spec.ts:17:24
|
End-to-end Tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › example.spec.ts:10:5 › has title ──────────────────────────────────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
7.52 KB |
|