Skip to content

Units UI

Units UI #2518

Triggered via pull request October 26, 2023 23:36
Status Failure
Total duration 24m 40s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 7 warnings, and 1 notice
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/tests/expansion.test.ts#L1
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Test timeout of 30000ms exceeded.
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/fixtures/ExpansionRules.ts#L96
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Error: page.waitForSelector: Target closed =========================== logs =========================== waiting for locator('option:has-text("PeelBanana")') ============================================================ at fixtures/ExpansionRules.ts:96 94 | 95 | async selectActivityType() { > 96 | await this.page.waitForSelector(`option:has-text("${this.ruleActivityType}")`, { state: 'attached' }); | ^ 97 | const value = await getOptionValueFromText(this.page, this.inputActivityTypeSelector, this.ruleActivityType); 98 | await this.inputActivityType.focus(); 99 | await this.inputActivityType.selectOption(value); at ExpansionRules.selectActivityType (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:96:21) at ExpansionRules.createExpansionRule (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:41:16) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/expansion.test.ts:41:5
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/tests/expansion.test.ts#L1
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/fixtures/ExpansionRules.ts#L96
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target closed =========================== logs =========================== waiting for locator('option:has-text("PeelBanana")') ============================================================ at fixtures/ExpansionRules.ts:96 94 | 95 | async selectActivityType() { > 96 | await this.page.waitForSelector(`option:has-text("${this.ruleActivityType}")`, { state: 'attached' }); | ^ 97 | const value = await getOptionValueFromText(this.page, this.inputActivityTypeSelector, this.ruleActivityType); 98 | await this.inputActivityType.focus(); 99 | await this.inputActivityType.selectOption(value); at ExpansionRules.selectActivityType (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:96:21) at ExpansionRules.createExpansionRule (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:41:16) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/expansion.test.ts:41:5
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/tests/expansion.test.ts#L1
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
tests/expansion.test.ts:40:3 › Expansion › Create expansion rule: e2e-tests/fixtures/ExpansionRules.ts#L96
1) tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target closed =========================== logs =========================== waiting for locator('option:has-text("PeelBanana")') ============================================================ at fixtures/ExpansionRules.ts:96 94 | 95 | async selectActivityType() { > 96 | await this.page.waitForSelector(`option:has-text("${this.ruleActivityType}")`, { state: 'attached' }); | ^ 97 | const value = await getOptionValueFromText(this.page, this.inputActivityTypeSelector, this.ruleActivityType); 98 | await this.inputActivityType.focus(); 99 | await this.inputActivityType.selectOption(value); at ExpansionRules.selectActivityType (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:96:21) at ExpansionRules.createExpansionRule (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExpansionRules.ts:41:16) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/expansion.test.ts:41:5
tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan: e2e-tests/tests/plan-activities.test.ts#L36
2) tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan Test timeout of 30000ms exceeded while running "beforeEach" hook. 34 | }); 35 | > 36 | test.beforeEach(async () => { | ^ 37 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); 38 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-PickBanana' }).click(); 39 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-ThrowBanana' }).click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:36:6
tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan: e2e-tests/tests/plan-activities.test.ts#L37
2) tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan Error: locator.click: Target closed =========================== logs =========================== waiting for locator('[data-component-name="ActivityTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' }) ============================================================ 35 | 36 | test.beforeEach(async () => { > 37 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); | ^ 38 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-PickBanana' }).click(); 39 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-ThrowBanana' }).click(); 40 | await plan.panelActivityDirectivesTable.getByRole('gridcell', { name: 'PickBanana' }).first().click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:37:92
tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan: e2e-tests/tests/plan-activities.test.ts#L36
2) tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded while running "beforeEach" hook. 34 | }); 35 | > 36 | test.beforeEach(async () => { | ^ 37 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click(); 38 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-PickBanana' }).click(); 39 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-ThrowBanana' }).click(); at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:36:6
tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan: e2e-tests/fixtures/Plan.ts#L119
2) tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('[data-component-name="ActivityDirectivesTablePanel"]').getByRole('gridcell').first() ============================================================ at fixtures/Plan.ts:119 117 | 118 | async deleteAllActivities() { > 119 | await this.panelActivityDirectivesTable.getByRole('gridcell').first().click({ button: 'right' }); | ^ 120 | await this.page.locator('.context-menu > .context-menu-item:has-text("Select All Activity Directives")').click(); 121 | await this.panelActivityDirectivesTable.getByRole('gridcell').first().click({ button: 'right' }); 122 | await this.page.getByText(/Delete \d+ Activit(y|ies) Directives?/).click(); at Plan.deleteAllActivities (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:119:75) at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:47:14
test
No files were found with the provided path: **/unit-test-results. No artifacts will be uploaded.
Slow Test: tests/scheduling.test.ts#L1
tests/scheduling.test.ts took 2.1m
Slow Test: tests/plan.test.ts#L1
tests/plan.test.ts took 1.8m
Slow Test: tests/plan-activities.test.ts#L1
tests/plan-activities.test.ts took 1.5m
Slow Test: tests/timeline-view-editing.test.ts#L1
tests/timeline-view-editing.test.ts took 1.5m
Slow Test: tests/expansion.test.ts#L1
tests/expansion.test.ts took 1.5m
Slow Test: tests/plan-merge.test.ts#L1
tests/plan-merge.test.ts took 1.5m
🎭 Playwright Run Summary
8 failed tests/expansion.test.ts:40:3 › Expansion › Create expansion rule ─────────────────────────────── tests/plan-activities.test.ts:60:3 › Plan Activities › Deleting an activity directive with another directive anchored to it should and selecting re-anchor to plan should re-anchor to plan tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values tests/plan-merge.test.ts:50:3 › Plan Merge › Add an activity to the parent plan ──────────────── tests/plan-simulation-templates.test.ts:73:3 › Plan Simulation Templates › Setting a simulation template to a simulation should update the parameter values tests/plan.test.ts:197:3 › Plan › Changing to a new plan should clear the selected activity ──── tests/scheduling.test.ts:61:3 › Scheduling › Disabling a scheduling goal should not include that goal in a scheduling run tests/timeline-view-editing.test.ts:48:3 › Timeline View Editing › Add an activity to the parent plan 26 skipped 64 passed (20.6m)

Artifacts

Produced during runtime
Name Size
Test Results Expired
55.1 MB