Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

DRAFT: EVEREST-839-multinamespace-e2e-tests #1467

DRAFT: EVEREST-839-multinamespace-e2e-tests

DRAFT: EVEREST-839-multinamespace-e2e-tests #1467

Triggered via pull request February 28, 2024 12:38
Status Failure
Total duration 18m 42s
Artifacts 2

ci.yml

on: pull_request
Cache PNPM
21s
Cache PNPM
Matrix: CI_checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 18 warnings, and 1 notice
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L97
1) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 95 | console.log('dbEngines', value); 96 | }); > 97 | expect(await dbEnginesButtons.count()).toBe(3); | ^ 98 | // MySQL is our default DB type 99 | expect(await page.getByTestId('mysql-toggle-button')).toHaveAttribute( 100 | 'aria-pressed', at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:97:44
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L97
1) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 95 | console.log('dbEngines', value); 96 | }); > 97 | expect(await dbEnginesButtons.count()).toBe(3); | ^ 98 | // MySQL is our default DB type 99 | expect(await page.getByTestId('mysql-toggle-button')).toHaveAttribute( 100 | 'aria-pressed', at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:97:44
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L97
1) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 95 | console.log('dbEngines', value); 96 | }); > 97 | expect(await dbEnginesButtons.count()).toBe(3); | ^ 98 | // MySQL is our default DB type 99 | expect(await page.getByTestId('mysql-toggle-button')).toHaveAttribute( 100 | 'aria-pressed', at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:97:44
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts#L32
2) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 at ../db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32 30 | const nrButtons = await dbEnginesButtons.count(); 31 | > 32 | expect(nrButtons).toBe(3); | ^ 33 | expect(await dbEnginesButtons.first().textContent()).toBe('MySQL'); 34 | expect(await dbEnginesButtons.nth(1).textContent()).toBe('MongoDB'); 35 | expect(await dbEnginesButtons.nth(2).textContent()).toBe('PostgreSQL'); at basicInformationStepCheck (/home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32:21) at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:137:5
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts#L32
2) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 at ../db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32 30 | const nrButtons = await dbEnginesButtons.count(); 31 | > 32 | expect(nrButtons).toBe(3); | ^ 33 | expect(await dbEnginesButtons.first().textContent()).toBe('MySQL'); 34 | expect(await dbEnginesButtons.nth(1).textContent()).toBe('MongoDB'); 35 | expect(await dbEnginesButtons.nth(2).textContent()).toBe('PostgreSQL'); at basicInformationStepCheck (/home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32:21) at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:137:5
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts#L32
2) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 1 at ../db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32 30 | const nrButtons = await dbEnginesButtons.count(); 31 | > 32 | expect(nrButtons).toBe(3); | ^ 33 | expect(await dbEnginesButtons.first().textContent()).toBe('MySQL'); 34 | expect(await dbEnginesButtons.nth(1).textContent()).toBe('MongoDB'); 35 | expect(await dbEnginesButtons.nth(2).textContent()).toBe('PostgreSQL'); at basicInformationStepCheck (/home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/steps/basic-information-step.ts:32:21) at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:137:5
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L1
3) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked Test timeout of 30000ms exceeded.
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L253
3) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked Error: locator.click: Page closed =========================== logs =========================== waiting for getByTestId('mysql-toggle-button') ============================================================ 251 | 252 | const mySQLButton = page.getByTestId('mysql-toggle-button'); > 253 | await mySQLButton.click(); | ^ 254 | 255 | await moveForward(page); 256 | await moveForward(page); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:253:23
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L1
3) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked: FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L253
3) [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for getByTestId('mysql-toggle-button') ============================================================ 251 | 252 | const mySQLButton = page.getByTestId('mysql-toggle-button'); > 253 | await mySQLButton.click(); | ^ 254 | 255 | await moveForward(page); 256 | await moveForward(page); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:253:23
Cache PNPM
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CI_checks (lint)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CI_checks (lint): packages/design/src/themes/base/BaseTheme.tsx#L84
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
CI_checks (lint): 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): apps/everest/src/contexts/auth/auth.provider.tsx#L50
React Hook useEffect has a missing dependency: 'login'. Either include it or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/database-form.tsx#L192
React Hook useMemo has a missing dependency: 'handleSectionEdit'. Either include it or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/backups/backups.tsx#L66
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/backups/schedule-section/schedule-section.tsx#L49
React Hook useEffect has missing dependencies: 'getFieldState', 'mode', and 'setValue'. Either include them or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/first/first-step.tsx#L79
React Hook useCallback has a missing dependency: 'setValue'. Either include it or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/first/first-step.tsx#L139
React Hook useCallback has a missing dependency: 'setValue'. Either include it or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/first/first-step.tsx#L154
React Hook useCallback has unnecessary dependencies: 'getValues' and 'mode'. Either exclude them or remove the dependency array
CI_checks (lint): apps/everest/src/pages/database-form/steps/first/first-step.tsx#L184
React Hook useEffect has missing dependencies: 'dbEngine', 'getFieldState', and 'mode'. Either include them or remove the dependency array
CI_checks (format)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CI_checks (test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CI_checks (build)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2E Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, azure/setup-helm@v2, percona-platform/checkout@v3, percona-platform/setup-go@v4, helm/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2E Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
E2E Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-frontend/percona-everest-frontend. Supported file pattern: go.sum
🎭 Playwright Run Summary
9 failed [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:71:3 β€Ί DB Cluster creation β€Ί Cluster defaults [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:123:3 β€Ί DB Cluster creation β€Ί Cluster creation [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:247:3 β€Ί DB Cluster creation β€Ί PITR should be disabled when backups toggle was not checked [Chrome Stable] β€Ί ../db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts:330:3 β€Ί DB Cluster creation β€Ί Multiple Mongo schedules [Chrome Stable] β€Ί ../db-cluster/db-wizard/edit-db-cluster/pitr-step.e2e.ts:58:3 β€Ί DB Cluster Editing PITR Step β€Ί Enable PITR to database during editing in dbWizard [Chrome Stable] β€Ί ../db-cluster/db-wizard/edit-db-cluster/resources-step.e2e.ts:47:3 β€Ί DB Cluster Editing Resources Step (Mongo) β€Ί Show the correct number of nodes during editing [Chrome Stable] β€Ί ../db-cluster/db-wizard/edit-db-cluster/schedules-step.e2e.ts:55:3 β€Ί DB Cluster Editing Backups Step β€Ί Add schedule to database with no schedule during editing in dbWizard [Chrome Stable] β€Ί ../multinamespaces/storage-location.e2e.ts:147:3 β€Ί Namespaces: Storage Location availability β€Ί Storage Location autocomplete in create new backup modal has only available storages for namespace [Chrome Stable] β€Ί ../settings/monitoring-list.e2e.ts:23:3 β€Ί Monitoring List β€Ί Create Monitoring Endpoint 8 skipped 31 passed (9.7m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
9.88 MB
test-results Expired
8.5 MB