DB seed and deseed scripts #6488
Annotations
8 errors, 1 warning, and 1 notice
|
Test (e2e)
Process completed with exit code 1.
|
|
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
29 × 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-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"><
|
|
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
49 × 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/***-ui/e2e-tests/fixtures/ExternalSources.ts:124:5)
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:179:5
|
|
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
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 ag-scrollbar-scrolling">…</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">…</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">…</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">…</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">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
32 × 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
|
|
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 ────────────────────────────
242 passed (9.8m)
|
Loading