[UI] EVEREST-1626 Remove db.spec.backup.enabled
condition
#1344
dev-fe-gatekeeper.yaml
on: pull_request
Annotations
7 errors, 16 warnings, and 1 notice
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation:
ui/apps/everest/.e2e/utils/db-wizard.ts#L50
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation
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/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:204:5
|
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation:
ui/apps/everest/.e2e/utils/db-wizard.ts#L50
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation
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/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:204:5
|
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation:
ui/apps/everest/.e2e/utils/db-wizard.ts#L50
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation
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/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:204:5
|
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form:
ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts#L24
2) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form
Error: locator.click: Error: strict mode violation: getByTestId('add-db-cluster-button') resolved to 2 elements:
1) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1dbrswm-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create database', exact: true })
2) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create Database', exact: true })
Call log:
- waiting for getByTestId('add-db-cluster-button')
- locator resolved to <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
22 | }) => {
23 | await page.goto('/databases');
> 24 | await page.getByTestId('add-db-cluster-button').click();
| ^
25 |
26 | // Resources Step
27 | await moveForward(page);
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:24:53
|
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form:
ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts#L24
2) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('add-db-cluster-button') resolved to 2 elements:
1) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1dbrswm-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create database', exact: true })
2) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create Database', exact: true })
Call log:
- waiting for getByTestId('add-db-cluster-button')
- locator resolved to <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
22 | }) => {
23 | await page.goto('/databases');
> 24 | await page.getByTestId('add-db-cluster-button').click();
| ^
25 |
26 | // Resources Step
27 | await moveForward(page);
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:24:53
|
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form:
ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts#L24
2) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('add-db-cluster-button') resolved to 2 elements:
1) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1dbrswm-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create database', exact: true })
2) <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a> aka getByRole('link', { name: 'Create Database', exact: true })
Call log:
- waiting for getByTestId('add-db-cluster-button')
- locator resolved to <a tabindex="0" href="/databases/new" data-testid="add-db-cluster-button" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1ueki4x-MuiButtonBase-root-MuiButton-root">…</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
22 | }) => {
23 | await page.goto('/databases');
> 24 | await page.getByTestId('add-db-cluster-button').click();
| ^
25 |
26 | // Resources Step
27 | await moveForward(page);
at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:24:53
|
E2E_tests_workflow / e2e
Process completed with exit code 1.
|
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/edit-db-cluster/pitr.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/edit-db-cluster/pitr.e2e.ts took 32.3s
|
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 30.9s
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/edit-db-cluster/schedules.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/edit-db-cluster/schedules.e2e.ts took 24.8s
|
Slow Test:
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/edit-db-cluster/resources-step.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/edit-db-cluster/resources-step.e2e.ts took 20.2s
|
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.5s
|
🎭 Playwright Run Summary
2 failed
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:118:3 › DB Cluster creation › Cluster creation
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/errors-handling.e2e.ts:20:3 › DB Cluster creation › Blocking the edit buttons when an error occurs in the form
13 skipped
50 passed (5.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
137 MB |
|