Running: bid-on-an-auction.spec.cy.ts (5 of 5)
Bid on an auction
✓ should instantly add to bid (20102ms)
✓ should bid the given amount (5144ms)
✓ should show to the first bidder that he is no longer the highest bidder (3400ms)
✓ should let the first bidder place a bidding agent that's higher than the current highest bid (5045ms)
✓ should trigger the bidding agent of the first bidder when the second bidder's bid is higher (4764ms)
1) should let the first bidder remove his bidding agent
cy:command
✔
visit /
cy:intercept
➟
Method: DELETE
Matcher: "**/c7ac501f-46d7-46e0-b4bf-e8099cc3f06e/agent"
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:intercept
➟
Method: GET
Matcher: "**/c7ac501f-46d7-46e0-b4bf-e8099cc3f06e*"
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: 200
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=1770200708851
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:xhr
➟
(e2e-buyer-alice) GET https://dev.caronsale.de/api/v1/authenticated-user
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/users/profile/
Status: 200
cy:command
✔
wait @e2e-buyer-alice
cy:command
✔
task setRequestHeaders, Object{3}
cy:command
✔
task getRequestHeaders
cy:command
✔
assert expected **e2e-buyer-alice@caronsale.de** to equal **e2e-buyer-alice@caronsale.de**
Actual: "e2e-buyer-alice@caronsale.de"
Expected: "e2e-buyer-alice@caronsale.de"
cy:command
✔
window
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/profile/salesman/e2e-buyer-alice@caronsale.de
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/account/data/855040ef-aca9-471c-b604-94da31763921?augment=settingsBuyer
Status: 200
cy:command
✔
new url http://localhost:4200/salesman/auctions/c7ac501f-46d7-46e0-b4bf-e8099cc3f06e
cy:command
✘
get [data-cy=bidding_instantly-add-to-bid-button-0]
cy:command
✘
assert expected **[data-cy=bidding_instantly-add-to-bid-button-0]** to be **visible**
Actual: "[data-cy=bidding_instantly-add-to-bid-button-0]"
Expected: "visible"
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/counts?types=parked&filter=%7B%7D
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v2/auction/buyer/saved-search?filter={%22limit%22:10,%22offset%22:0}
2) "after all" hook for "should let the first bidder remove his bidding agent"
5 passing (1m)
2 failing
1) Bid on an auction
should let the first bidder remove his bidding agent:
AssertionError: Timed out retrying after 10000ms: Expected to find element: `[data-cy=bidding_instantly-add-to-bid-button-0]`, but never found it.
at login (webpack:///../e2e/caronsale-frontend-web/bid-on-an-auction.spec.cy.ts:8:0)
at Context.eval (webpack:///../e2e/caronsale-frontend-web/bid-on-an-auction.spec.cy.ts:102:0)
2) Bid on an auction
"after all" hook for "should let the first bidder remove his bidding agent":
CypressError: `cy.wrap()` timed out waiting `10000ms` to complete.
You called `cy.wrap()` with a promise that never resolved.
To increase the timeout, use `{ timeout: number }`
https://on.cypress.io/wrap
Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite: `Bid on an auction`
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:121289:70)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:1807:23)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4186:41)
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:1697:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack:///../support/commands.ts:15:0)
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ auction-details.spec.cy.ts 00:24 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ auction-room.spec.cy.ts 00:29 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ auctions-overview.spec.cy.ts 00:54 3 3 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ bid-from-list-view.spec.cy.ts 00:26 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ bid-on-an-auction.spec.cy.ts 01:02 6 5 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 5 failed (20%) 03:17 15 14 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: development
CLOUDINARY_URL: ***
##[endgroup]
E2E failure videos:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/video/upload/v1770200735/delete-me_e2e/development/bid-on-an-auction.spec.cy.ts.mp4
E2E failure screenshots:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1770200743/delete-me_e2e/development/core/bid-on-an-auction.spec.cy.ts/Bid_on_an_auction_--_should_let_the_first_bidder_remove_his_bidding_agent_--_after_all_hook_failed.png
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1770200743/delete-me_e2e/development/core/bid-on-an-auction.spec.cy.ts/Bid_on_an_auction_--_should_let_the_first_bidder_remove_his_bidding_agent_failed.png
E2E failure html files:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/raw/upload/v1770200744/delete-me_e2e/development/bid-on-an-auction.spec.cy.ts/should_let_the_first_bidder_remove_his_bidding_agent/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/7b53ff5f-3ceb-4c0f-9db3-68268584ea14' 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 (2403) (npm exec http-s)
Terminate orphan process: pid (2427) (sh)
Terminate orphan process: pid (2433) (http-server)