DB seed and deseed scripts #6534
Annotations
9 errors, 1 warning, and 1 notice
|
Test (e2e)
Process completed with exit code 1.
|
|
Test (e2e):
e2e-tests/tests/plan-external-source.test.ts#L199
3) [e2e tests] › tests/plan-external-source.test.ts:178:3 › Plan External Sources › Linked derivation groups should be expandable in panel
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'ExampleExternalSource:example-external-source.json' })
197 | await setup.page
198 | .getByRole('button', { name: `ExampleExternalSource:${externalSources.externalSourceFileName}` })
> 199 | .click();
| ^
200 | // TODO: Event types shown underneath derivation groups is work to-be-implemented!
201 | //await setup.page.getByRole('button', { name: 'View Contained Event Types' }).click();
202 |
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/plan-external-source.test.ts:199:8
|
|
Test (e2e):
e2e-tests/tests/plan-external-source.test.ts#L0
3) [e2e tests] › tests/plan-external-source.test.ts:178:3 › Plan External Sources › Linked derivation groups should be expandable in panel
Test timeout of 30000ms exceeded.
|
|
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/tests/external-sources.test.ts#L174
1) [e2e tests] › tests/external-sources.test.ts:169:3 › External Sources › Deleting all external sources
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('External Source Deleted Successfully') resolved to 2 elements:
1) <div aria-live="polite" class="toastify on st-typography-body toastify-right toastify-bottom">External Source Deleted Successfully</div> aka getByText('External Source Deleted').first()
2) <div aria-live="polite" class="toastify st-typography-body toastify-right toastify-bottom">External Source Deleted Successfully</div> aka getByText('External Source Deleted').nth(1)
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('External Source Deleted Successfully')
172 | await externalSources.deleteSource(externalSources.externalSourceNoAttributeKey);
173 | await externalSources.deleteSource(externalSources.externalSourceEmptyAttributeKey);
> 174 | await expect(setup.page.getByText('External Source Deleted Successfully')).toBeVisible();
| ^
175 | await expect(externalSources.inputFile).toBeVisible();
176 | await expect(externalSources.externalEventSelectedForm).not.toBeVisible();
177 | await expect(externalSources.externalSourceSelectedForm).not.toBeVisible();
at /home/runner/work/***-ui/***-ui/e2e-tests/tests/external-sources.test.ts:174:80
|
|
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
36 × 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
12 × 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
51 × 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
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-external-source.test.ts:178:3 › Plan External Sources › Linked derivation groups should be expandable in panel
241 passed (10.2m)
|
Loading