Project 'platform-one/big-bang/apps/core/argocd' was moved to 'big-bang/product/packages/argocd'. Please update any links and bookmarks that may still have the old path.
Update Argo Cypress test to work in BB CI
Argo tests currently will fail if enabled in BB CI. It appears to be a timing issue. See below logs.
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 5.0.0 │
│ Browser: Chrome 83 (headless) │
│ Specs: 1 found (argocd.spec.js) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: argocd.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Basic ArgocD
1) Check ArgoCD is accessible
0 passing (32s)
1 failing
1) Basic ArgocD
Check ArgoCD is accessible:
CypressError: Timed out retrying: `cy.click()` failed because this element:
`<span class="applications-list__title">guestbook</span>`
is being covered by another element:
`<div class="sliding-panel__outside"></div>`
Fix this problem, or use {force: true} to disable error checking.
https://on.cypress.io/element-cannot-be-interacted-with
at $Cy.ensureDescendents (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:160969:26)
at ensureDescendents (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:149596:8)
at ensureDescendentsAndScroll (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:149603:14)
at ensureElIsNotCovered (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:149732:5)
at runAllChecks (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:149869:52)
at retryActionability (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:149884:16)
at tryCatcher (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:9852:23)
at Function.Promise.attempt.Promise.try (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:7126:29)
at tryFn (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:164075:24)
at whenStable (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:164116:12)
at https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:163634:16
at tryCatcher (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:9852:23)
at Promise._settlePromiseFromHandler (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:7787:31)
at Promise._settlePromise (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:7844:18)
at Promise._settlePromise0 (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:7889:10)
at Promise._settlePromises (https://argocd.bigbang.dev/__cypress/runner/cypress_runner.js:7969:18)
From Your Spec Code:
at Context.eval (https://argocd.bigbang.dev/__cypress/tests?p=cypress/integration/argocd.spec.js:133:30)
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 1 │
│ Video: true │
│ Duration: 32 seconds │
│ Spec Ran: argocd.spec.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /test/cypress/screenshots/argocd.spec.js/Basic ArgocD -- Check ArgoCD is accessi (1280x720)
ble (failed).png
(Video)
- Started processing: Compressing to 35 CRF
- Finished processing: /test/cypress/videos/argocd.spec.js.mp4 (1 second)
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✖ argocd.spec.js 00:32 1 - 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 1 failed (100%) 00:32 1 - 1 - -