DB seed and deseed scripts #6722
test.yml
on: pull_request
unit-test
3m 50s
e2e-test
12m 16s
Annotations
3 errors, 2 warnings, and 1 notice
|
[e2e tests] › e2e-tests/tests/plan-model-migration.test.ts:100:3 › Plan Model Migration › Can migrate back to ModelB:
e2e-tests/tests/plan-model-migration.test.ts#L109
2) [e2e tests] › e2e-tests/tests/plan-model-migration.test.ts:100:3 › Plan Model Migration › Can migrate back to ModelB
Error: expect(locator).toBeAttached() failed
Locator: getByLabel('temperature', { exact: true })
Expected: attached
Error: strict mode violation: getByLabel('temperature', { exact: true }) resolved to 2 elements:
1) <div aria-label="temperature" class="name svelte-13nvc66">temperature </div> aka getByText('temperature')
2) <input type="number" class="st-input w-full" aria-label="temperature"/> aka getByRole('spinbutton', { name: 'temperature' })
Call log:
- Expect "toBeAttached" with timeout 5000ms
- waiting for getByLabel('temperature', { exact: true })
107 | await plan.waitForToast('Model Migration Success');
108 | await expect(setup.page.getByRole('tab', { name: 'activity' })).toHaveText('Activity Validation 3');
> 109 | await expect(setup.page.getByLabel('temperature', { exact: true })).toBeAttached();
| ^
110 | });
111 | });
112 |
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-model-migration.test.ts:109:73
|
|
[e2e tests] › e2e-tests/tests/plan-activity-presets.test.ts:43:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values:
e2e-tests/fixtures/Plan.ts#L295
1) [e2e tests] › e2e-tests/tests/plan-activity-presets.test.ts:43:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-component-name="ActivityFormPanel"]').getByRole('combobox', { name: 'None' })
at fixtures/Plan.ts:295
293 |
294 | async fillActivityPresetName(presetName: string) {
> 295 | await this.panelActivityForm.getByRole('combobox', { name: 'None' }).click();
| ^
296 | await this.panelActivityForm.locator('.dropdown-header').waitFor({ state: 'attached' });
297 | await this.panelActivityForm.getByPlaceholder('Enter preset name').click();
298 | await this.panelActivityForm.getByPlaceholder('Enter preset name').fill(presetName);
at Plan.fillActivityPresetName (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/Plan.ts:295:74)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:24:20
|
|
[e2e tests] › e2e-tests/tests/plan-activity-presets.test.ts:43:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values:
e2e-tests/tests/plan-activity-presets.test.ts#L6
1) [e2e tests] › e2e-tests/tests/plan-activity-presets.test.ts:43:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
"beforeAll" hook timeout of 30000ms exceeded.
4 | let setup: FullSetupResult;
5 |
> 6 | test.beforeAll(async ({ browser }) => {
| ^
7 | setup = await setupTest(browser);
8 | await setup.plan.goto();
9 |
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-activity-presets.test.ts:6:6
|
|
Slow Test:
[e2e tests] › e2e-tests/tests/external-sources.test.ts#L0
[e2e tests] › e2e-tests/tests/external-sources.test.ts took 1.1m
|
|
Slow Test:
[e2e tests] › e2e-tests/tests/workspace.test.ts#L0
[e2e tests] › e2e-tests/tests/workspace.test.ts took 1.1m
|
|
🎭 Playwright Run Summary
2 flaky
[e2e tests] › e2e-tests/tests/plan-activity-presets.test.ts:43:3 › Plan Activity Presets › Setting a preset to a directive should update the parameter values
[e2e tests] › e2e-tests/tests/plan-model-migration.test.ts:100:3 › Plan Model Migration › Can migrate back to ModelB
243 passed (8.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
E2E Test Results
|
12.9 MB |
sha256:ccfb0c4d8b62e6623aa1741b68266e64e3194bec730edac79ef85b292b31ddfd
|
|
|
Unit Test Results
|
4.32 MB |
sha256:8403fa4300990933c73c18fed442caa591e082dbffc181102997206b22b7c41d
|
|