Skip to content

fix: test

fix: test #22

Triggered via push March 30, 2024 11:34
Status Success
Total duration 2m 4s
Artifacts

run-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 1 notice
[chromium] › api.spec.ts:9:5 › regenerate api keys: e2e/api.spec.ts#L36
1) [chromium] › api.spec.ts:9:5 › regenerate api keys ──────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "252d7c7c-5ef2-4674-8254-d3ff0f3badfc" 34 | console.log({ firstPrivateKey, secondPrivateKey }) 35 | > 36 | expect(firstPrivateKey).not.toEqual(secondPrivateKey) | ^ 37 | 38 | privateKey = secondPrivateKey 39 | }) at /home/runner/work/lunary/lunary/e2e/api.spec.ts:36:31
[chromium] › api.spec.ts:9:5 › regenerate api keys: e2e/api.spec.ts#L36
1) [chromium] › api.spec.ts:9:5 › regenerate api keys ──────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "430b7b12-e72d-40bf-9942-8a44856043b3" 34 | console.log({ firstPrivateKey, secondPrivateKey }) 35 | > 36 | expect(firstPrivateKey).not.toEqual(secondPrivateKey) | ^ 37 | 38 | privateKey = secondPrivateKey 39 | }) at /home/runner/work/lunary/lunary/e2e/api.spec.ts:36:31
[chromium] › api.spec.ts:41:5 › private api /logs: e2e/api.spec.ts#L44
2) [chromium] › api.spec.ts:41:5 › private api /logs ───────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Failed to parse URL from undefined/v1/runs 42 | // Test API query 43 | > 44 | const res = await fetch(process.env.API_URL + "/v1/runs", { | ^ 45 | method: "GET", 46 | headers: { 47 | "X-API-Key": privateKey!, at /home/runner/work/lunary/lunary/e2e/api.spec.ts:44: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:41:5 › private api /logs ────────────────────────────────────────────── 6 passed (17.1s)