Skip to content

[UI] ui-improvement: trim spaces in delete database modal (#283) #97

[UI] ui-improvement: trim spaces in delete database modal (#283)

[UI] ui-improvement: trim spaces in delete database modal (#283) #97

Triggered via push May 25, 2024 16:05
Status Success
Total duration 10m 37s
Artifacts
Cache PNPM
20s
Cache PNPM
permission_checks
4s
permission_checks
E2E_tests_workflow  /  e2e
9m 57s
E2E_tests_workflow / e2e
Matrix: CI_checks
Merge Gatekeeper
24s
Merge Gatekeeper
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 11 warnings, and 1 notice
[Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:57:3 › DB Cluster Editing Backups Step › Add schedule to database with no schedule during editing in dbWizard: ui/apps/everest/.e2e/utils/db-cluster.ts#L126
1) [Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:57:3 › DB Cluster Editing Backups Step › Add schedule to database with no schedule during editing in dbWizard Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at ../utils/db-cluster.ts:126 124 | ); 125 | > 126 | expect(response.ok()).toBeTruthy(); | ^ 127 | }; 128 | 129 | export const deleteDbClusterFn = async ( at createDbClusterFn (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-cluster.ts:126:25) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:41:5
[Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:57:3 › DB Cluster Editing Backups Step › Add schedule to database with no schedule during editing in dbWizard: ui/apps/everest/.e2e/utils/db-cluster.ts#L126
1) [Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:57:3 › DB Cluster Editing Backups Step › Add schedule to database with no schedule during editing in dbWizard Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at ../utils/db-cluster.ts:126 124 | ); 125 | > 126 | expect(response.ok()).toBeTruthy(); | ^ 127 | }; 128 | 129 | export const deleteDbClusterFn = async ( at createDbClusterFn (/home/runner/work/everest/everest/ui/apps/everest/.e2e/utils/db-cluster.ts:126:25) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:41:5
[Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:89:3 › DB Cluster Editing Backups Step › Adding multi schedules during dbWizard editing: ui/apps/everest/.e2e/db-cluster/db-wizard/edit-db-cluster/edit-db-cluster.utils.ts#L28
2) [Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:89:3 › DB Cluster Editing Backups Step › Adding multi schedules during dbWizard editing Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Your database is being updated') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Your database is being updated') at ../db-cluster/db-wizard/edit-db-cluster/edit-db-cluster.utils.ts:28 26 | 27 | export const checkSuccessOfUpdateAndGoToDbClustersList = async (page: Page) => { > 28 | await expect(page.getByText('Your database is being updated')).toBeVisible(); | ^ 29 | const goToDbClustersButton = page.getByTestId('db-wizard-goto-db-clusters'); 30 | await expect(goToDbClustersButton).not.toBeDisabled(); 31 | await goToDbClustersButton.click(); at checkSuccessOfUpdateAndGoToDbClustersList (/home/runner/work/everest/everest/ui/apps/everest/.e2e/db-cluster/db-wizard/edit-db-cluster/edit-db-cluster.utils.ts:28:66) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:105:11
CI_checks (lint): ui/packages/design/src/themes/base/BaseTheme.tsx#L94
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/protected-route/ProtectedRoute.tsx#L15
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#L50
React Hook useEffect has missing dependencies: 'setValue' and 'trigger'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/first/first-step.tsx#L131
React Hook useCallback has a missing dependency: 'setValue'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/first/first-step.tsx#L146
React Hook useCallback has unnecessary dependencies: 'getValues' and 'mode'. Either exclude them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/first/first-step.tsx#L176
React Hook useEffect has missing dependencies: 'dbEngine', 'getFieldState', and 'mode'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/first/first-step.tsx#L200
React Hook useEffect has missing dependencies: 'getFieldState', 'mode', and 'setValue'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/monitoring/monitoring.tsx#L104
React Hook useEffect has missing dependencies: 'availableMonitoringInstances', 'getValues', 'mode', and 'setValue'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/pages/database-form/database-form-body/steps/pitr/pitr-storage.tsx#L25
React Hook useEffect has missing dependencies: 'backupStorages' and 'setValue'. Either include them or remove the dependency array
E2E_tests_workflow / e2e
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
2 flaky [Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:57:3 › DB Cluster Editing Backups Step › Add schedule to database with no schedule during editing in dbWizard [Chrome Stable] › ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:89:3 › DB Cluster Editing Backups Step › Adding multi schedules during dbWizard editing 10 skipped 39 passed (2.8m)