add more tests #23
Annotations
3 errors, 1 warning, and 1 notice
[chromium] › api.spec.ts:9:5 › regenerate api keys:
e2e/api.spec.ts#L34
1) [chromium] › api.spec.ts:9:5 › regenerate api keys ────────────────────────────────────────────
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not "92a010c9-6dc4-4766-9d94-c4c33f117fce"
32 | const secondPrivateKey = await page.getByTestId("private-key").textContent()
33 |
> 34 | expect(firstPrivateKey).not.toEqual(secondPrivateKey)
| ^
35 |
36 | privateKey = secondPrivateKey
37 | })
at /home/runner/work/lunary/lunary/e2e/api.spec.ts:34:31
|
[chromium] › api.spec.ts:9:5 › regenerate api keys:
e2e/api.spec.ts#L34
1) [chromium] › api.spec.ts:9:5 › regenerate api keys ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not "4c62ab9e-b814-4634-acd3-a4d6d90651d9"
32 | const secondPrivateKey = await page.getByTestId("private-key").textContent()
33 |
> 34 | expect(firstPrivateKey).not.toEqual(secondPrivateKey)
| ^
35 |
36 | privateKey = secondPrivateKey
37 | })
at /home/runner/work/lunary/lunary/e2e/api.spec.ts:34:31
|
[chromium] › api.spec.ts:39:5 › private api /logs:
e2e/api.spec.ts#L42
2) [chromium] › api.spec.ts:39:5 › private api /logs ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Failed to parse URL from undefined/v1/runs
40 | // Test API query
41 |
> 42 | const res = await fetch(process.env.API_URL + "/v1/runs", {
| ^
43 | method: "GET",
44 | headers: {
45 | "Content-Type": "application/json",
at /home/runner/work/lunary/lunary/e2e/api.spec.ts:42:15
|
run-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
2 flaky
[chromium] › api.spec.ts:9:5 › regenerate api keys ─────────────────────────────────────────────
[chromium] › api.spec.ts:39:5 › private api /logs ──────────────────────────────────────────────
2 skipped
6 passed (17.6s)
|