Skip to content

Procedural Constraints UI #4739

Procedural Constraints UI

Procedural Constraints UI #4739

Triggered via pull request December 6, 2024 17:16
Status Failure
Total duration 10m 38s
Artifacts 2

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/tests/constraints.test.ts#L1
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Test timeout of 30000ms exceeded.
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/fixtures/Constraints.ts#L39
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Error: page.waitForURL: Target page, context or browser has been closed =========================== logs =========================== waiting for navigation to "http://localhost:3000/constraints/edit/*" until "load" ============================================================ at fixtures/Constraints.ts:39 37 | await expect(this.saveButton).not.toBeDisabled(); 38 | await this.saveButton.click(); > 39 | await this.page.waitForURL(`${baseURL}/constraints/edit/*`); | ^ 40 | await expect(this.closeButton).not.toBeDisabled(); 41 | await this.closeButton.click(); 42 | await this.page.waitForURL(`${baseURL}/constraints`); at Constraints.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Constraints.ts:39:21) at Plan.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:177:5) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/constraints.test.ts:51:5
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/tests/constraints.test.ts#L1
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/fixtures/Constraints.ts#L39
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Target page, context or browser has been closed =========================== logs =========================== waiting for navigation to "http://localhost:3000/constraints/edit/*" until "load" ============================================================ at fixtures/Constraints.ts:39 37 | await expect(this.saveButton).not.toBeDisabled(); 38 | await this.saveButton.click(); > 39 | await this.page.waitForURL(`${baseURL}/constraints/edit/*`); | ^ 40 | await expect(this.closeButton).not.toBeDisabled(); 41 | await this.closeButton.click(); 42 | await this.page.waitForURL(`${baseURL}/constraints`); at Constraints.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Constraints.ts:39:21) at Plan.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:177:5) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/constraints.test.ts:51:5
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/tests/constraints.test.ts#L1
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page: e2e-tests/fixtures/Constraints.ts#L39
1) [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Target page, context or browser has been closed =========================== logs =========================== waiting for navigation to "http://localhost:3000/constraints/edit/*" until "load" ============================================================ at fixtures/Constraints.ts:39 37 | await expect(this.saveButton).not.toBeDisabled(); 38 | await this.saveButton.click(); > 39 | await this.page.waitForURL(`${baseURL}/constraints/edit/*`); | ^ 40 | await expect(this.closeButton).not.toBeDisabled(); 41 | await this.closeButton.click(); 42 | await this.page.waitForURL(`${baseURL}/constraints`); at Constraints.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Constraints.ts:39:21) at Plan.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:177:5) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/constraints.test.ts:51:5
[e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model: e2e-tests/tests/model.test.ts#L27
2) [e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model ─ "beforeAll" hook timeout of 30000ms exceeded. 25 | const checkboxSelector = 'Press SPACE to toggle cell'; 26 | > 27 | test.beforeAll(async ({ baseURL, browser }) => { | ^ 28 | context = await browser.newContext(); 29 | page = await context.newPage(); 30 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/model.test.ts:27:6
[e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model: e2e-tests/tests/model.test.ts#L27
2) [e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model ─ "beforeAll" hook timeout of 30000ms exceeded. 25 | const checkboxSelector = 'Press SPACE to toggle cell'; 26 | > 27 | test.beforeAll(async ({ baseURL, browser }) => { | ^ 28 | context = await browser.newContext(); 29 | page = await context.newPage(); 30 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/model.test.ts:27:6
[e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model: e2e-tests/tests/model.test.ts#L1
2) [e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model ─ Error: tracing.startChunk: Tracing is already stopping
[e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model: e2e-tests/fixtures/Constraints.ts#L39
2) [e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model ─ Error: page.waitForURL: Test ended. =========================== logs =========================== waiting for navigation to "http://localhost:3000/constraints/edit/*" until "load" ============================================================ at fixtures/Constraints.ts:39 37 | await expect(this.saveButton).not.toBeDisabled(); 38 | await this.saveButton.click(); > 39 | await this.page.waitForURL(`${baseURL}/constraints/edit/*`); | ^ 40 | await expect(this.closeButton).not.toBeDisabled(); 41 | await this.closeButton.click(); 42 | await this.page.waitForURL(`${baseURL}/constraints`); at Constraints.createConstraint (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Constraints.ts:39:21) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/model.test.ts:41:3
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 failed [e2e tests] › tests/constraints.test.ts:50:3 › Constraints › Create constraint from the plan page [e2e tests] › tests/model.test.ts:74:3 › Model › Should be able to update the name of a model ── 1 flaky [e2e tests] › tests/plan-simulation-templates.test.ts:75:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values 9 did not run 168 passed (8.0m)

Artifacts

Produced during runtime
Name Size
E2E Test Results
17.8 MB
Unit Test Results
3.09 MB