Skip to content

test: migrate AVA→Vitest with event-based waits (stacked on #131) #43

test: migrate AVA→Vitest with event-based waits (stacked on #131)

test: migrate AVA→Vitest with event-based waits (stacked on #131) #43

Triggered via pull request June 29, 2026 00:55
Status Failure
Total duration 3m 31s
Artifacts

ci.yaml

on: pull_request
lint-and-build
37s
lint-and-build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test (22)
Process completed with exit code 1.
[e2e] src/tests/e2e/rebac.e2e.spec.ts > Permission check e2e test: src/tests/helpers/wait-for.ts#L21
Error: waitFor timed out after 60000ms: rebac step did not converge ❯ waitFor src/tests/helpers/wait-for.ts:21:13 ❯ src/tests/e2e/rebac.e2e.spec.ts:577:7
[e2e] src/tests/e2e/rbac.e2e.spec.ts > Permission check e2e test: src/enforcement/enforcer.ts#L456
PermitConnectionError: Permit SDK got error: connect ECONNREFUSED 127.0.0.1:8181 and cannot connect to the PDP, please check your configuration and make sure the PDP is running at http://127.0.0.1:7766 and accepting requests. Read more about setting up the PDP at https://docs.permit.io ❯ src/enforcement/enforcer.ts:456:15 ❯ Enforcer.checkWithExceptions src/enforcement/enforcer.ts:422:12 ❯ Enforcer.check src/enforcement/enforcer.ts:392:12 ❯ Permit.check src/index.ts:194:12 ❯ src/tests/e2e/rbac.e2e.spec.ts:204:7
test (20)
Process completed with exit code 1.
[e2e] src/tests/e2e/rebac.e2e.spec.ts > Permission check e2e test: src/tests/helpers/wait-for.ts#L21
Error: waitFor timed out after 60000ms: rebac step did not converge ❯ waitFor src/tests/helpers/wait-for.ts:21:13 ❯ src/tests/e2e/rebac.e2e.spec.ts:577:7
[e2e] src/tests/e2e/rbac.e2e.spec.ts > Permission check e2e test: src/enforcement/enforcer.ts#L456
PermitConnectionError: Permit SDK got error: connect ECONNREFUSED 127.0.0.1:8181 and cannot connect to the PDP, please check your configuration and make sure the PDP is running at http://127.0.0.1:7766 and accepting requests. Read more about setting up the PDP at https://docs.permit.io ❯ src/enforcement/enforcer.ts:456:15 ❯ Enforcer.checkWithExceptions src/enforcement/enforcer.ts:422:12 ❯ Enforcer.check src/enforcement/enforcer.ts:392:12 ❯ Permit.check src/index.ts:194:12 ❯ src/tests/e2e/rbac.e2e.spec.ts:204:7