DB seed and deseed scripts #6490
Annotations
9 errors, 1 warning, and 1 notice
|
Test (e2e)
Process completed with exit code 1.
|
|
Test (e2e):
e2e-tests/tests/plan-model-migration.test.ts#L108
3) [e2e tests] › tests/plan-model-migration.test.ts:100:3 › Plan Model Migration › Can migrate back to ModelB
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('tab', { name: 'activity' })
Expected string: "Activity Validation 3"
Received string: "Activity Validation 2"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('tab', { name: 'activity' })
5 × locator resolved to <button role="tab" type="button" tabindex="-1" data-tabs-trigger="" data-state="inactive" data-value="activity" data-melt-tabs-trigger="" data-orientation="horizontal" class="ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-sm py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 tab-trigger mx-0.5 h-6 border bg-transparent px-0.5 hover:text-neutral-800 d…>…</button>
- unexpected value "Activity Validation "
4 × locator resolved to <button role="tab" type="button" tabindex="-1" data-tabs-trigger="" data-state="inactive" data-value="activity" data-melt-tabs-trigger="" data-orientation="horizontal" class="ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-sm py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 tab-trigger mx-0.5 h-6 border bg-transparent px-0.5 hover:text-neutral-800 d…>…</button>
- unexpected value "Activity Validation 2"
106 | await plan.changeMissionModelMigrateButton.click();
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 | });
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-model-migration.test.ts:108:69
|
|
Test (e2e):
e2e-tests/utilities/api.ts#L799
2) [seed] › utilities/seed.test.ts:377:1 › seed Aerie with sample data ───────────────────────────
Error: GraphQL errors: [
{
"extensions": {
"code": "constraint-violation",
"path": "$.selectionSet.insert_plan_derivation_group_one.args.object"
},
"message": "Foreign key violation. insert or update on table \"plan_derivation_group\" violates foreign key constraint \"pdg_plan_exists\""
}
]
at utilities/api.ts:799
797 |
798 | if (json.errors) {
> 799 | throw new Error(`GraphQL errors: ${JSON.stringify(json.errors, null, 2)}`);
| ^
800 | }
801 |
802 | return json.data;
at AerieApi.gqlQuery (/home/runner/work/***-ui/***-ui/e2e-tests/utilities/api.ts:799:13)
at AerieApi.createPlanDerivationGroup (/home/runner/work/***-ui/***-ui/e2e-tests/utilities/api.ts:320:5)
at /home/runner/work/***-ui/***-ui/e2e-tests/utilities/seed.test.ts:631:5
|
|
Test (e2e):
e2e-tests/fixtures/ExternalSources.ts#L159
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('.derivation-group-table').getByRole('row', { name: 'Example External Source Default' }).getByLabel('Delete Derivation Group')
- locator resolved to <button class="svelte-o9b2o8 st-button icon" aria-label="Delete Derivation Group">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
21 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
9 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
- locator resolved to <button class="svelte-o9b2o8 st-button icon" aria-label="Delete Derivation Group">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertic
|
|
Test (e2e):
e2e-tests/tests/external-sources.test.ts#L0
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Test (e2e):
e2e-tests/fixtures/ExternalSources.ts#L159
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('.derivation-group-table').getByRole('row', { name: 'Example External Source Default' }).getByLabel('Delete Derivation Group')
- locator resolved to <button class="svelte-o9b2o8 st-button icon" aria-label="Delete Derivation Group">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
28 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
20 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at fixtures/ExternalSources.ts:159
157 | }
158 |
> 159 | await deleteButton.click();
| ^
160 | const modal = this.page.locator('.modal');
161 | await modal.waitFor({ state: 'visible', timeout: 5000 }).catch(() => {});
162 |
at ExternalSources.deleteFromTable (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:159:24)
at ExternalSources.deleteDerivationGroup (/home/runner/work/***-ui
|
|
Test (e2e):
e2e-tests/tests/external-sources.test.ts#L0
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Test (e2e):
e2e-tests/fixtures/ExternalSources.ts#L159
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('.derivation-group-table').getByRole('row', { name: 'Example External Source Default' }).getByLabel('Delete Derivation Group')
- locator resolved to <button class="svelte-o9b2o8 st-button icon" aria-label="Delete Derivation Group">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
28 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible ag-scrollbar-scrolling">…</div> subtree intercepts pointer events
21 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-ref="eContainer" class="ag-body-vertical-scroll-container"></div> from <div aria-hidden="true" class="ag-body-vertical-scroll ag-scrollbar-invisible">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
at fixtures/ExternalSources.ts:159
157 | }
158 |
> 159 | await deleteButton.click();
| ^
160 | const modal = this.page.locator('.modal');
161 | await modal.waitFor({ state: 'visible', timeout: 5000 }).catch(() => {});
162 |
at ExternalSources.deleteFromTable (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:159:24)
at ExternalSources.deleteDerivationGroup (/home/runner/work/***-ui/***-ui/e2e-tests/fixtures/ExternalSources.ts:124:5)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-so
|
|
Test (e2e):
e2e-tests/tests/external-sources.test.ts#L0
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Test timeout of 30000ms exceeded.
|
|
Test (e2e):
[e2e tests] › tests/workspace.test.ts#L0
[e2e tests] › tests/workspace.test.ts took 1.1m
|
|
Test (e2e)
2 failed
[e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
[seed] › utilities/seed.test.ts:377:1 › seed Aerie with sample data ────────────────────────────
1 flaky
[e2e tests] › tests/plan-model-migration.test.ts:100:3 › Plan Model Migration › Can migrate back to ModelB
241 passed (10.6m)
|
Loading