[UI] EVEREST-1065 removing edit db button from actions #1341
dev-fe-gatekeeper.yaml
on: pull_request
Annotations
10 errors, 15 warnings, and 1 notice
[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version:
ui/apps/everest/.e2e/utils/table.ts#L42
1) [pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('row').filter({ hasText: 'psmdb-1-upgrade' }).getByText('Initializing', { exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByRole('row').filter({ hasText: 'psmdb-1-upgrade' }).getByText('Initializing', { exact: true })
at ../utils/table.ts:42
40 | const dbRow = page.getByRole('row').filter({ hasText: name });
41 | await expect(dbRow).toBeVisible({ timeout: 10000 });
> 42 | await expect(dbRow.getByText(status, { exact: true })).toBeVisible({
| ^
43 | timeout: timeout,
44 | });
45 | };
at waitForStatus (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/table.ts:42:58)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:90:9
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:88:7
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version:
ui/apps/everest/.e2e/utils/db-wizard.ts#L50
1) [pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('db-wizard-goto-db-clusters')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('db-wizard-goto-db-clusters')
at ../utils/db-wizard.ts:50
48 | export const submitWizard = async (page: Page) => {
49 | await page.getByTestId('db-wizard-submit-button').click();
> 50 | await expect(page.getByTestId('db-wizard-goto-db-clusters')).toBeVisible();
| ^
51 | };
52 |
53 | export const goToLastAndSubmit = async (page: Page) => {
at submitWizard (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-wizard.ts:50:64)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:82:9
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:81:7
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version:
ui/apps/everest/.e2e/utils/db-wizard.ts#L50
1) [pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('db-wizard-goto-db-clusters')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('db-wizard-goto-db-clusters')
at ../utils/db-wizard.ts:50
48 | export const submitWizard = async (page: Page) => {
49 | await page.getByTestId('db-wizard-submit-button').click();
> 50 | await expect(page.getByTestId('db-wizard-goto-db-clusters')).toBeVisible();
| ^
51 | };
52 |
53 | export const goToLastAndSubmit = async (page: Page) => {
at submitWizard (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-wizard.ts:50:64)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:82:9
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:81:7
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts#L1
2) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
Test timeout of 30000ms exceeded.
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/utils/table.ts#L16
2) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('menuitem', { name: 'Edit' })
at ../utils/table.ts:16
14 |
15 | if (nameOfAction) {
> 16 | await page.getByRole('menuitem', { name: nameOfAction }).click();
| ^
17 | }
18 | };
19 |
at findRowAndClickActions (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/table.ts:16:62)
at findDbAndClickActions (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-clusters-list.ts:56:3)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:74:5
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/utils/db-cluster.ts#L142
2) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at ../utils/db-cluster.ts:142
140 | );
141 |
> 142 | expect(response.ok()).toBeTruthy();
| ^
143 | };
144 |
145 | export const deleteDbClusterFn = async (
at createDbClusterFn (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-cluster.ts:142:25)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:41:5
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/utils/db-cluster.ts#L142
2) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at ../utils/db-cluster.ts:142
140 | );
141 |
> 142 | expect(response.ok()).toBeTruthy();
| ^
143 | };
144 |
145 | export const deleteDbClusterFn = async (
at createDbClusterFn (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-cluster.ts:142:25)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:41:5
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/utils/db-cluster.ts#L161
2) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at ../utils/db-cluster.ts:161
159 | }
160 | );
> 161 | expect(deleteResponse.ok()).toBeTruthy();
| ^
162 | };
163 |
at deleteDbClusterFn (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-cluster.ts:161:31)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:68:5
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:196:3 › MongoDb PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts#L1
3) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:196:3 › MongoDb PITR editing › Enable PITR to database during editing in dbWizard
Test timeout of 30000ms exceeded.
|
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:196:3 › MongoDb PITR editing › Enable PITR to database during editing in dbWizard:
ui/apps/everest/.e2e/utils/table.ts#L16
3) [pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:196:3 › MongoDb PITR editing › Enable PITR to database during editing in dbWizard
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('menuitem', { name: 'Edit' })
at ../utils/table.ts:16
14 |
15 | if (nameOfAction) {
> 16 | await page.getByRole('menuitem', { name: nameOfAction }).click();
| ^
17 | }
18 | };
19 |
at findRowAndClickActions (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/table.ts:16:62)
at findDbAndClickActions (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-clusters-list.ts:56:3)
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:200:5
|
CI_checks (lint):
ui/packages/design/src/themes/base/BaseTheme.tsx#L104
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
CI_checks (lint):
ui/packages/ui-lib/src/table/usePersistentColumnVisibility.ts#L45
React Hook useEffect has a missing dependency: 'key'. Either include it or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L192
React Hook useEffect has missing dependencies: 'cpuInputName', 'diskInputName', 'memoryInputName', and 'sizeOptions'. Either include them or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L200
React Hook useEffect has a missing dependency: 'diskInputName'. Either include it or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L209
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L219
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L228
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/protected-route/ProtectedRoute.tsx#L19
React Hook useEffect has missing dependencies: 'location.pathname' and 'setRedirectRoute'. Either include them or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/components/schedule-form-dialog/schedule-form-wrapper/schedule-form-wrapper.tsx#L62
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
|
CI_checks (lint):
ui/apps/everest/src/contexts/auth/auth.provider.tsx#L131
React Hook useCallback has a missing dependency: 'isSsoEnabled'. Either include it or remove the dependency array
|
E2E_tests_workflow / e2e
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts took 46.7s
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/no-match/no-match.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/no-match/no-match.e2e.ts took 33.0s
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/multinamespaces/storage-location.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/multinamespaces/storage-location.e2e.ts took 17.5s
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/settings/upgrades.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/settings/upgrades.e2e.ts took 16.1s
|
🎭 Playwright Run Summary
4 failed
[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts:41:5 › Overview page › Upgrade psmdb version
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:71:3 › MySQL PITR editing › Enable PITR to database during editing in dbWizard
[pr] › ../pr/db-cluster-details/edit-db-cluster/pitr.e2e.ts:196:3 › MongoDb PITR editing › Enable PITR to database during editing in dbWizard
[pr] › ../pr/db-cluster-details/edit-db-cluster/resources-step.e2e.ts:60:5 › Overview page: psmdb resources editing › Creation and waiting of ready 1 node psmdb with sharding for resources edit tests
13 skipped
1 did not run
51 passed (7.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
96.3 MB |
|