Hide content within collapse slot if not expanded to improve performance #4960
test.yml
on: pull_request
unit-test
2m 31s
e2e-test
11m 34s
Annotations
10 errors and 1 notice
[e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty:
e2e-tests/tests/scheduling.test.ts#L106
1) [e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
104 | await plan.schedulingGoalExpand(goalName1).click();
105 | const satisfiedActivitiesCount = await plan.schedulingSatisfiedActivity.count();
> 106 | expect(satisfiedActivitiesCount).toBeGreaterThan(0);
| ^
107 | });
108 |
109 | test('Running analyze-only should show +0 in that goals badge', async () => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/scheduling.test.ts:106:38
|
[e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty:
e2e-tests/tests/scheduling.test.ts#L106
1) [e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
104 | await plan.schedulingGoalExpand(goalName1).click();
105 | const satisfiedActivitiesCount = await plan.schedulingSatisfiedActivity.count();
> 106 | expect(satisfiedActivitiesCount).toBeGreaterThan(0);
| ^
107 | });
108 |
109 | test('Running analyze-only should show +0 in that goals badge', async () => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/scheduling.test.ts:106:38
|
[e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty:
e2e-tests/tests/scheduling.test.ts#L106
1) [e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
104 | await plan.schedulingGoalExpand(goalName1).click();
105 | const satisfiedActivitiesCount = await plan.schedulingSatisfiedActivity.count();
> 106 | expect(satisfiedActivitiesCount).toBeGreaterThan(0);
| ^
107 | });
108 |
109 | test('Running analyze-only should show +0 in that goals badge', async () => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/scheduling.test.ts:106:38
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/tests/sequence.test.ts#L1
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/fixtures/Sequence.ts#L173
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Error: locator.selectOption: Target page, context or browser has been closed
Call log:
- waiting for locator('fieldset').filter({ hasText: 'enum_arg_0 Value Type Literal' }).getByRole('combobox')
at fixtures/Sequence.ts:173
171 | .filter({ hasText: 'enum_arg_0 Value Type Literal' })
172 | .getByRole('combobox')
> 173 | .selectOption('OFF');
| ^
174 |
175 | await expect(this.command).toHaveText('C FSW_CMD_0 "OFF" false 1');
176 |
at Sequence.modifySequence (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Sequence.ts:173:8)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/sequence.test.ts:42:5
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/tests/sequence.test.ts#L1
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/fixtures/Sequence.ts#L173
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.selectOption: Target page, context or browser has been closed
Call log:
- waiting for locator('fieldset').filter({ hasText: 'enum_arg_0 Value Type Literal' }).getByRole('combobox')
at fixtures/Sequence.ts:173
171 | .filter({ hasText: 'enum_arg_0 Value Type Literal' })
172 | .getByRole('combobox')
> 173 | .selectOption('OFF');
| ^
174 |
175 | await expect(this.command).toHaveText('C FSW_CMD_0 "OFF" false 1');
176 |
at Sequence.modifySequence (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Sequence.ts:173:8)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/sequence.test.ts:42:5
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/tests/sequence.test.ts#L1
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor:
e2e-tests/fixtures/Sequence.ts#L173
2) [e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.selectOption: Target page, context or browser has been closed
Call log:
- waiting for locator('fieldset').filter({ hasText: 'enum_arg_0 Value Type Literal' }).getByRole('combobox')
at fixtures/Sequence.ts:173
171 | .filter({ hasText: 'enum_arg_0 Value Type Literal' })
172 | .getByRole('combobox')
> 173 | .selectOption('OFF');
| ^
174 |
175 | await expect(this.command).toHaveText('C FSW_CMD_0 "OFF" false 1');
176 |
at Sequence.modifySequence (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Sequence.ts:173:8)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/sequence.test.ts:42:5
|
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes:
e2e-tests/fixtures/Models.ts#L110
3) [e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ──
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('treegrid').getByRole('row', { name: 'round_gold_orca' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid').getByRole('row', { name: 'round_gold_orca' })
at fixtures/Models.ts:110
108 | await filterIcon.click();
109 | await this.page.locator('.ag-popup').getByRole('textbox', { name: 'Filter Value' }).first().fill(modelName);
> 110 | await expect(this.table.getByRole('row', { name: modelName })).toBeVisible();
| ^
111 | await this.page.keyboard.press('Escape');
112 | }
113 |
at Models.filterTable (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Models.ts:110:68)
at Models.deleteModel (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Models.ts:57:5)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/model.test.ts:62:3
|
🎭 Playwright Run Summary
2 failed
[e2e tests] › tests/scheduling.test.ts:103:3 › Scheduling › The list of satisfied activities should not be empty
[e2e tests] › tests/sequence.test.ts:41:3 › Sequence › Open and modify a sequence via form editor
2 flaky
[e2e tests] › tests/model.test.ts:143:3 › Model › Should successfully save the model changes ───
[e2e tests] › tests/timeline-view-editing.test.ts:244:3 › Timeline View Editing › Add a resource layer
7 did not run
178 passed (8.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
E2E Test Results
|
28.2 MB |
|
Unit Test Results
|
3.26 MB |
|