Running: supervisor-view.spec.cy.ts (3 of 5)
Supervisor view
1) should show a supervisor seller their own running auction
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=1770216644949
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:command
✔
window
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 show a supervisor seller the running auctions of their subordinates (6369ms)
1 passing (37s)
1 failing
1) Supervisor view
should show a supervisor seller their own running auction:
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:///../support/commands.ts:34:0)
────────────────────────────────────────────────────────────────────────────────────────────────────