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 #1491

DRAFT: EVEREST-839-multinamespace-e2e-tests

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

Triggered via pull request February 29, 2024 14:02
Status Failure
Total duration 13m 42s
Artifacts 2

ci.yml

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

Annotations

10 errors, 18 warnings, and 1 notice
[Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace: FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts#L84
1) [Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace Error: Timed out 5000ms waiting for expect(locator).toBeEnabled() Locator: getByTestId('form-dialog-add') Expected: enabled Received: disabled Call log: - expect.toBeEnabled with timeout 5000ms - waiting for getByTestId('form-dialog-add') - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" 82 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 83 | > 84 | await expect(page.getByTestId('form-dialog-add')).toBeEnabled(); | ^ 85 | await page.getByTestId('form-dialog-add').click(); 86 | 87 | await expect(page.getByTestId('monitoring-warning')).not.toBeVisible(); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts:84:55
[Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace: FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts#L84
1) [Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeEnabled() Locator: getByTestId('form-dialog-add') Expected: enabled Received: disabled Call log: - expect.toBeEnabled with timeout 5000ms - waiting for getByTestId('form-dialog-add') - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" 82 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 83 | > 84 | await expect(page.getByTestId('form-dialog-add')).toBeEnabled(); | ^ 85 | await page.getByTestId('form-dialog-add').click(); 86 | 87 | await expect(page.getByTestId('monitoring-warning')).not.toBeVisible(); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts:84:55
[Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace: FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts#L84
1) [Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeEnabled() Locator: getByTestId('form-dialog-add') Expected: enabled Received: disabled Call log: - expect.toBeEnabled with timeout 5000ms - waiting for getByTestId('form-dialog-add') - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" - locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> - unexpected value "disabled" 82 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 83 | > 84 | await expect(page.getByTestId('form-dialog-add')).toBeEnabled(); | ^ 85 | await page.getByTestId('form-dialog-add').click(); 86 | 87 | await expect(page.getByTestId('monitoring-warning')).not.toBeVisible(); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/multinamespaces/monitoring.e2e.ts:84:55
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L1
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Test timeout of 30000ms exceeded.
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L37
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Error: locator.click: Target closed =========================== logs =========================== waiting for getByTestId('form-dialog-add') locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ 35 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 36 | > 37 | await page.getByTestId('form-dialog-add').click(); | ^ 38 | 39 | // checking that monitoring has been added 40 | // await findRowAndClickActions(page, monitoringEndpointName); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts:37:47
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L1
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L37
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for getByTestId('form-dialog-add') locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ 35 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 36 | > 37 | await page.getByTestId('form-dialog-add').click(); | ^ 38 | 39 | // checking that monitoring has been added 40 | // await findRowAndClickActions(page, monitoringEndpointName); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts:37:47
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L1
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint: FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts#L37
2) [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for getByTestId('form-dialog-add') locator resolved to <button disabled tabindex="-1" type="button" data-testid…>Add</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ 35 | await page.getByTestId('text-input-password').fill(MONITORING_PASSWORD); 36 | > 37 | await page.getByTestId('form-dialog-add').click(); | ^ 38 | 39 | // checking that monitoring has been added 40 | // await findRowAndClickActions(page, monitoringEndpointName); at /home/runner/work/percona-everest-frontend/percona-everest-frontend/FE/apps/everest/.e2e/settings/monitoring-list.e2e.ts:37:47
E2E Tests
Process completed with exit code 1.
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 (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 (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): 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): 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#L196
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 (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
2 failed [Chrome Stable] › ../multinamespaces/monitoring.e2e.ts:46:3 › Namespaces: Monitoring availability › Monitoring autocomplete in DB Wizard has only endpoints in selected namespace [Chrome Stable] › ../settings/monitoring-list.e2e.ts:23:3 › Monitoring List › Create Monitoring Endpoint 5 skipped 42 passed (5.1m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
5.54 MB
test-results Expired
4.17 MB