Running: bid-on-an-auction.spec.cy.ts (5 of 6)
Bid on an auction
✓ should instantly add to bid (19842ms)
✓ should bid the given amount (4217ms)
✓ should show to the first bidder that he is no longer the highest bidder (2741ms)
✓ should let the first bidder place a bidding agent that's higher than the current highest bid (3437ms)
1) should trigger the bidding agent of the first bidder when the second bidder's bid is higher
cy:command
✔
visit /
cy:intercept
➟
Method: GET
Matcher: "**/1745db98-62f3-404f-bff1-8260407d6a70*"
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
cy:command
✔
window
cy:command
✔
task clearRequestHeaders
cy:intercept
➟
Matcher: {"method":"GET","url":"**/authenticated-user"}
cy:command
✔
window
cy:command
✔
wrap {}
cy:fetch
❖
POST https://cognito-idp.eu-central-1.amazonaws.com/
Status: 400
cons:log
✱
Angular is running in development mode.
cy:xhr
➟
GET https://res.cloudinary.com/castle-tech-gmbh/raw/upload/i18n/frontend-web/en.json?t=1770753619118
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:command
✘
wait @e2e-buyer-bob
✓ should let the first bidder remove his bidding agent (4450ms)
5 passing (52s)
1 failing
1) Bid on an auction
should trigger the bidding agent of the first bidder when the second bidder's bid is higher:
CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `e2e-buyer-bob`. 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:19:0)
dding agent of the first bidder when the second bidder's bid is higher (failed).
png
────────────────────────────────────────────────────────────────────────────────────────────────────