Running: ui-login.spec.cy.ts (5 of 5)
UI login and logout
1) should login and logout
cy:command
✔
visit /
cy:command
✔
get [data-cy=app-root_development-banner]
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/public/config/system
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cons:log
✱
Angular is running in development mode.
cy:command
✔
click
cy:xhr
➟
GET https://res.cloudinary.com/castle-tech-gmbh/raw/upload/i18n/frontend-web/en.json?t=1770306615424
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:intercept
➟
Matcher: {"method":"GET","url":"**/authenticated-user"}
cy:command
✔
get [data-cy=login_username-input]
cy:command
✔
find input
cy:command
✔
get [data-cy=login_password-input]
cy:command
✔
find input
cy:command
✔
get [data-cy=login_submit-login-button]
cy:command
✔
click
cy:fetch
❖
POST https://cognito-idp.eu-central-1.amazonaws.com/
Status: 400
cy:command
✘
wait @userData
✓ should not show redirect options when user has opted out (8007ms)
1 passing (22s)
1 failing
1) UI login and logout
should login and logout:
CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `userData`. No request ever occurred.
https://on.cypress.io/wait
at cypressErr (http://localhost:4200/__cypress/runner/cypress_runner.js:75898:18)
at Object.errByPath (http://localhost:4200/__cypress/runner/cypress_runner.js:75952:10)
at checkForXhr (http://localhost:4200/__cypress/runner/cypress_runner.js:135185:84)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:135211:28)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:1807:23)
at Promise.attempt.Promise.try (http://localhost:4200/__cypress/runner/cypress_runner.js:4315:29)
at whenStable (http://localhost:4200/__cypress/runner/cypress_runner.js:143587:68)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:143528:14)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:1701:18)
at Promise._fulfill (http://localhost:4200/__cypress/runner/cypress_runner.js:1645:18)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
at Context.eval (webpack:///../e2e/caronsale-frontend-web/ui-login.spec.cy.ts:13:0)
led).png
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ buyer-cockpit.spec.cy.ts 00:28 3 3 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ seller-view.spec.cy.ts 00:28 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ supervisor-view.spec.cy.ts 00:30 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ support-request.spec.cy.ts 01:37 25 25 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ ui-login.spec.cy.ts 00:22 2 1 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 5 failed (20%) 03:27 34 33 1 - -
##[error]Process completed with exit code 1.
##[group]Run node ./scripts/upload-cypress-generated-media.js
node ./scripts/upload-cypress-generated-media.js
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
GITHUB_REF_NAME: feat/CTE-1622
CLOUDINARY_URL: ***
##[endgroup]
E2E failure videos:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/video/upload/v1770306639/delete-me_e2e/feat_CTE-1622/ui-login.spec.cy.ts.mp4
E2E failure screenshots:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1770306642/delete-me_e2e/feat_CTE-1622/core/ui-login.spec.cy.ts/UI_login_and_logout_--_should_login_and_logout_failed.png
E2E failure html files:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/raw/upload/v1770306645/delete-me_e2e/feat_CTE-1622/ui-login.spec.cy.ts/should_login_and_logout/index.html
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.52.0
Temporarily overriding HOME='/home/runner/work/_temp/23ef0e6e-3f2c-4a01-9e1c-33d8bd79ffa7' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/caronsale-frontend-web/caronsale-frontend-web
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
A job completed hook has been configured by the self-hosted runner administrator
##[group]Run '/home/runner/actions-runner/complete-hook.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
Cleaning up orphan processes
Terminate orphan process: pid (2407) (npm exec http-s)
Terminate orphan process: pid (2432) (sh)
Terminate orphan process: pid (2433) (http-server)