Feat/make classification and criticality optional #10271
Annotations
7 errors and 1 notice
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\ResourcesTree.ts#L45
7) src\e2e-tests\__tests__\updating-attributions.test.ts:64:5 › warns user of unsaved changes if user attempts to open new file before saving
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('resources-tree').getByText('by-aside-provision', { exact: true })
- locator resolved to <p class="MuiTypography-root MuiTypography-body1 css-wam3xv">by-aside-provision</p>
- 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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
55 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
at page-objects\ResourcesTree.ts:45
43 | async goto(...resourceNames: Array<string>): Promise<void> {
44 | for (const resourceName of resourceNames) {
> 45 | await this.node.getByText(resourceName, { exact: true }).click();
| ^
46 | }
47 | }
48 | }
at ResourcesTree.goto (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\ResourcesTree.ts:45:64)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\updating-attributions.test.ts:72:23
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\ResourcesTree.ts#L45
6) src\e2e-tests\__tests__\linking-attributions.test.ts:203:5 › disables resp. hides options to create or link attributions to breakpoints
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('resources-tree').getByText('eek-powerfully-quart', { exact: true })
- locator resolved to <p class="MuiTypography-root MuiTypography-body1 css-9ja0rf">eek-powerfully-quart</p>
- 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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
55 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at page-objects\ResourcesTree.ts:45
43 | async goto(...resourceNames: Array<string>): Promise<void> {
44 | for (const resourceName of resourceNames) {
> 45 | await this.node.getByText(resourceName, { exact: true }).click();
| ^
46 | }
47 | }
48 | }
at ResourcesTree.goto (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\ResourcesTree.ts:45:64)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\linking-attributions.test.ts:208:23
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\ImportDialog.ts#L49
5) src\e2e-tests\__tests__\import-dialog.test.ts:115:5 › shows error when no file path is set ────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel('import dialog').getByTestId('ErrorIcon').locator('path')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('import dialog').getByTestId('ErrorIcon').locator('path')
at page-objects\ImportDialog.ts:49
47 | },
48 | showsError: async (): Promise<void> => {
> 49 | await expect(this.errorIcon).toBeVisible();
| ^
50 | },
51 | };
52 | }
at Object.showsError (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\ImportDialog.ts:49:36)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\import-dialog.test.ts:124:29
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\SignalsPanel.ts#L118
4) src\e2e-tests\__tests__\deleting-signals.test.ts:74:5 › deletes and restores multiple signals at once
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('signals-panel').getByRole('tab', { name: 'On Children' })
Expected string: "true"
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('signals-panel').getByRole('tab', { name: 'On Children' })
at page-objects\SignalsPanel.ts:118
116 | },
117 | selectedTabIs: async (tab: keyof typeof this.tabs) => {
> 118 | await expect(this.tabs[tab]).toHaveAttribute('aria-selected', 'true');
| ^
119 | },
120 | linkButtonIsDisabled: async () => {
121 | await expect(this.linkButton).toBeDisabled();
at Object.selectedTabIs (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\SignalsPanel.ts:118:36)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\deleting-signals.test.ts:78:29
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\PackageCard.ts#L95
3) src\e2e-tests\__tests__\deleting-attributions.test.ts:131:5 › deletes multiple attributions at once
Error: Timed out 5000ms waiting for expect(locator).not.toBeChecked()
Locator: getByTestId('attributions-panel').getByLabel('package card honored-bug, 0.0.12').getByRole('checkbox')
Expected: not checked
Received: <element(s) not found>
Call log:
- expect.not.toBeChecked with timeout 5000ms
- waiting for getByTestId('attributions-panel').getByLabel('package card honored-bug, 0.0.12').getByRole('checkbox')
at page-objects\PackageCard.ts:95
93 | },
94 | checkboxIsUnchecked: async (packageInfo: RawPackageInfo): Promise<void> => {
> 95 | await expect(this.checkbox(packageInfo)).not.toBeChecked();
| ^
96 | },
97 | signalAboveSecondSignal: async (
98 | signal1: RawPackageInfo,
at Object.checkboxIsUnchecked (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\PackageCard.ts:95:52)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\deleting-attributions.test.ts:136:46
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\PackageCard.ts#L111
2) src\e2e-tests\__tests__\confirming-preselected-attributions.test.ts:103:5 › confirms multiple pre-selected attributions
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('attributions-panel').getByLabel('package card muddy-institute, 5.6.9')
- locator resolved to <div tabindex="0" class="MuiBox-root css-d3geve" aria-label="package card muddy-institute, 5.6.9">…</div>
- 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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
56 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at page-objects\PackageCard.ts:111
109 |
110 | async click(packageInfo: RawPackageInfo): Promise<void> {
> 111 | await this.node(packageInfo).click();
| ^
112 | }
113 | }
114 |
at PackageCard.click (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\PackageCard.ts:111:34)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\confirming-preselected-attributions.test.ts:108:39
|
Run yarn test:e2e:ci:
src\e2e-tests\page-objects\ResourcesTree.ts#L45
1) src\e2e-tests\__tests__\comparing-attribution-with-origin.test.ts:51:5 › opens the diff popup if attribution has original and compare button is clicked
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for getByTestId('resources-tree').getByText('hearten-certainly-agitated', { exact: true })
- locator resolved to <p class="MuiTypography-root MuiTypography-body1 css-wam3xv">hearten-certainly-agitated</p>
- 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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</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 tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
55 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" role="presentation" class="MuiDialog-container MuiDialog-scrollPaper css-8azq84">…</div> from <div role="presentation" class="MuiDialog-root MuiModal-root css-1egf66k">…</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
at page-objects\ResourcesTree.ts:45
43 | async goto(...resourceNames: Array<string>): Promise<void> {
44 | for (const resourceName of resourceNames) {
> 45 | await this.node.getByText(resourceName, { exact: true }).click();
| ^
46 | }
47 | }
48 | }
at ResourcesTree.goto (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\ResourcesTree.ts:45:64)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\comparing-attribution-with-origin.test.ts:56:23
|
Run yarn test:e2e:ci
7 flaky
src\e2e-tests\__tests__\comparing-attribution-with-origin.test.ts:51:5 › opens the diff popup if attribution has original and compare button is clicked
src\e2e-tests\__tests__\confirming-preselected-attributions.test.ts:103:5 › confirms multiple pre-selected attributions
src\e2e-tests\__tests__\deleting-attributions.test.ts:131:5 › deletes multiple attributions at once
src\e2e-tests\__tests__\deleting-signals.test.ts:74:5 › deletes and restores multiple signals at once
src\e2e-tests\__tests__\import-dialog.test.ts:115:5 › shows error when no file path is set ─────
src\e2e-tests\__tests__\linking-attributions.test.ts:203:5 › disables resp. hides options to create or link attributions to breakpoints
src\e2e-tests\__tests__\updating-attributions.test.ts:64:5 › warns user of unsaved changes if user attempts to open new file before saving
60 passed (8.4m)
|
Loading