Activity and Resource Browser #3824
Annotations
10 errors and 1 notice
e2e-tests/fixtures/Plan.ts#L97
1) [e2e tests] › tests/plan-activities.test.ts:51: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: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-GrowBanana' })
at fixtures/Plan.ts:97
95 | async addActivity(name: string = 'GrowBanana') {
96 | const currentNumOfActivitiesWithName = await this.panelActivityDirectivesTable.getByRole('row', { name }).count();
> 97 | await this.page.getByRole('button', { name: `CreateActivity-${name}` }).click();
| ^
98 | await expect(this.panelActivityDirectivesTable.getByRole('row', { name })).toHaveCount(
99 | currentNumOfActivitiesWithName + 1,
100 | );
at Plan.addActivity (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:97:77)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:52:5
|
e2e-tests/fixtures/Plan.ts#L97
1) [e2e tests] › tests/plan-activities.test.ts:51: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: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-GrowBanana' })
at fixtures/Plan.ts:97
95 | async addActivity(name: string = 'GrowBanana') {
96 | const currentNumOfActivitiesWithName = await this.panelActivityDirectivesTable.getByRole('row', { name }).count();
> 97 | await this.page.getByRole('button', { name: `CreateActivity-${name}` }).click();
| ^
98 | await expect(this.panelActivityDirectivesTable.getByRole('row', { name })).toHaveCount(
99 | currentNumOfActivitiesWithName + 1,
100 | );
at Plan.addActivity (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:97:77)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:52:5
|
e2e-tests/fixtures/Plan.ts#L97
1) [e2e tests] › tests/plan-activities.test.ts:51: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 #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-GrowBanana' })
at fixtures/Plan.ts:97
95 | async addActivity(name: string = 'GrowBanana') {
96 | const currentNumOfActivitiesWithName = await this.panelActivityDirectivesTable.getByRole('row', { name }).count();
> 97 | await this.page.getByRole('button', { name: `CreateActivity-${name}` }).click();
| ^
98 | await expect(this.panelActivityDirectivesTable.getByRole('row', { name })).toHaveCount(
99 | currentNumOfActivitiesWithName + 1,
100 | );
at Plan.addActivity (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:97:77)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activities.test.ts:52:5
|
e2e-tests/tests/plan-activity-presets.test.ts#L35
2) [e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
Error: locator.click: Error: strict mode violation: locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' })
33 | await plan.goto();
34 |
> 35 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click();
| ^
36 | await plan.panelActivityDirectivesTable.getByRole('gridcell', { name: 'GrowBanana' }).first().click();
37 |
38 | await plan.panelActivityForm.locator('.parameter-base-number input[type="number"]').fill('2');
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:35:92
|
e2e-tests/tests/plan-activity-presets.test.ts#L35
2) [e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' })
33 | await plan.goto();
34 |
> 35 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click();
| ^
36 | await plan.panelActivityDirectivesTable.getByRole('gridcell', { name: 'GrowBanana' }).first().click();
37 |
38 | await plan.panelActivityForm.locator('.parameter-base-number input[type="number"]').fill('2');
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:35:92
|
e2e-tests/tests/plan-activity-presets.test.ts#L35
2) [e2e tests] › tests/plan-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-GrowBanana').nth(2)
Call log:
- waiting for locator('[data-component-name="ActivityAndResourceTypesPanel"]').getByRole('button', { name: 'CreateActivity-GrowBanana' })
33 | await plan.goto();
34 |
> 35 | await plan.panelActivityTypes.getByRole('button', { name: 'CreateActivity-GrowBanana' }).click();
| ^
36 | await plan.panelActivityDirectivesTable.getByRole('gridcell', { name: 'GrowBanana' }).first().click();
37 |
38 | await plan.panelActivityForm.locator('.parameter-base-number input[type="number"]').fill('2');
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:35:92
|
e2e-tests/tests/plan-merge.test.ts#L51
3) [e2e tests] › tests/plan-merge.test.ts:50:3 › Plan Merge › Add an activity to the parent plan ─
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-BiteBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-BiteBanana' })
49 |
50 | test('Add an activity to the parent plan', async () => {
> 51 | await page.getByRole('button', { name: 'CreateActivity-BiteBanana' }).click();
| ^
52 | });
53 |
54 | test('Create a branch', async ({ baseURL }) => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:51:75
|
e2e-tests/tests/plan-merge.test.ts#L51
3) [e2e tests] › tests/plan-merge.test.ts:50:3 › Plan Merge › Add an activity to the parent plan ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-BiteBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-BiteBanana' })
49 |
50 | test('Add an activity to the parent plan', async () => {
> 51 | await page.getByRole('button', { name: 'CreateActivity-BiteBanana' }).click();
| ^
52 | });
53 |
54 | test('Create a branch', async ({ baseURL }) => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:51:75
|
e2e-tests/tests/plan-merge.test.ts#L51
3) [e2e tests] › tests/plan-merge.test.ts:50:3 › Plan Merge › Add an activity to the parent plan ─
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-BiteBanana' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-BiteBanana').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-BiteBanana' })
49 |
50 | test('Add an activity to the parent plan', async () => {
> 51 | await page.getByRole('button', { name: 'CreateActivity-BiteBanana' }).click();
| ^
52 | });
53 |
54 | test('Create a branch', async ({ baseURL }) => {
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-merge.test.ts:51:75
|
e2e-tests/tests/plan-simulation-templates.test.ts#L37
4) [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
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'CreateActivity-child' }) resolved to 3 elements:
1) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-child').first()
2) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-child').nth(1)
3) <button class="st-button icon" aria-label="Createactivit…>…</button> aka getByLabel('Createactivity-child').nth(2)
Call log:
- waiting for getByRole('button', { name: 'CreateActivity-child' })
35 | await plan.showPanel(PanelNames.SIMULATION, true);
36 |
> 37 | await page.getByRole('button', { name: 'CreateActivity-child' }).click();
| ^
38 | await page.getByRole('button', { name: 'Simulate' }).click();
39 |
40 | await plan.panelSimulation.locator('.parameter-base-number input[type="number"]').first().fill('199');
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-simulation-templates.test.ts:37:68
|
8 failed
[e2e tests] › tests/plan-activities.test.ts:51: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-activity-presets.test.ts:73:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
[e2e tests] › tests/plan-merge.test.ts:50:3 › Plan Merge › Add an activity to the parent plan ──
[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
[e2e tests] › tests/plan.test.ts:140:3 › Plan › Changing to a new plan should clear the selected activity
[e2e tests] › tests/scheduling.test.ts:117:3 › Scheduling › Modifying the plan should result in scheduling status marked as out of date
[e2e tests] › tests/simulation.test.ts:85:3 › Simulation › Plans with activities should simulate and result in simulated activities
[e2e tests] › tests/timeline-view-editing.test.ts:50:3 › Timeline View Editing › Add an activity to the parent plan
24 did not run
114 passed (10.4m)
|
This job failed
Loading