Running: bid-on-an-auction.spec.cy.ts (5 of 5)
Bid on an auction
✓ should instantly add to bid (17755ms)
✓ should bid the given amount (4376ms)
✓ should show to the first bidder that he is no longer the highest bidder (2750ms)
1) should let the first bidder place a bidding agent that's higher than the current highest bid
cy:command
✔
visit /
cy:command
✔
window
cy:command
✔
task clearRequestHeaders
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
➟
Matcher: {"method":"GET","url":"**/authenticated-user"}
cons:log
✱
Angular is running in development mode.
cy:command
✔
window
cy:command
✔
wrap {}
cy:xhr
➟
GET https://res.cloudinary.com/castle-tech-gmbh/raw/upload/i18n/frontend-web/en.json?t=1769392988704
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:fetch
➟
POST https://cognito-idp.eu-central-1.amazonaws.com/
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/341c4c98-b28d-45f8-b714-d0d66e54d360
cy:command
✔
get [data-cy=bidding_instantly-add-to-bid-button-0]
cy:command
✔
assert expected **<enzo-button>** to be **visible**
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/9edc5493-a532-47b9-928b-3f2e0042cdcf/341c4c98-b28d-45f8-b714-d0d66e54d360/vouchers
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/profile/salesman/e2e-buyer-alice@caronsale.de/contact
Status: 200
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}
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360?&language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/count-saved-searches?searches=9db4e364-5ff3-4bc0-af42-4be7a574d2af&searches=6e625d25-6657-414d-860e-6f41ba135213&type=active
Status: 200
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
first
cy:command
✔
assert expected **1350** to equal **1350**
Actual: 1350
Expected: 1350
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
assert expected **[ <div.bid-value-and-icon.clickable.outbid>, 1 more... ]** to have CSS property **color** with the value **rgb(205, 30, 20)**
Actual: "rgb(205, 30, 20)"
Expected: "rgb(205, 30, 20)"
cy:command
✔
get [data-cy=bidding_bid-amount-input]
cy:command
✔
type 1600
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/310994/access
Status: 204
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360/bids
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/buyer/payment/buy-now-pay-later/status
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/secured/auctions/341c4c98-b28d-45f8-b714-d0d66e54d360/vehicle/equipment-data?language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/user-notes/auction/341c4c98-b28d-45f8-b714-d0d66e54d360,341c4c98-b28d-45f8-b714-d0d66e54d360
Status: 200
cy:command
✔
get [data-cy=bidding_set-bidding-agent-button]
cy:command
✔
click
cy:intercept
➟
Method: PUT
Matcher: "**/341c4c98-b28d-45f8-b714-d0d66e54d360/agent"
cy:intercept
➟
Method: GET
Matcher: "**/341c4c98-b28d-45f8-b714-d0d66e54d360*"
cy:command
✔
get [data-cy=bidding_confirm-bid-button]
cy:command
✔
click
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/simulate-bid
Status: 200
cy:command
✔
wait @placeBiddingAgent
cy:xhr
➟
(placeBiddingAgent) PUT https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360/agent
Status: 201
cy:command
✔
wait @auctionRefresh
cy:xhr
➟
(auctionRefresh) GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360?&language=en
Status: 200
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
assert expected **[ <div.bid-value-and-icon.clickable.highest-bidder>, 1 more... ]** to have CSS property **color** with the value **rgb(30, 172, 27)**
Actual: "rgb(30, 172, 27)"
Expected: "rgb(30, 172, 27)"
cy:command
✔
get [data-cy=bidding_set-bidding-agent-button]
cy:command
✔
assert expected **[data-cy=bidding_set-bidding-agent-button]** not to exist in the DOM
Actual: "[data-cy=bidding_set-bidding-agent-button]"
Expected: "[data-cy=bidding_set-bidding-agent-button]"
cy:command
✔
get [data-cy=bidding_remove-bidding-agent-button]
cy:command
✔
assert expected **<enzo-button.mat-tooltip-trigger.ng-star-inserted>** to be **visible**
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
first
cy:command
✘
assert expected **1351** to equal **1400**
Actual: 1351
Expected: 1400
2) 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: "**/341c4c98-b28d-45f8-b714-d0d66e54d360*"
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: 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=1769392994044
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:xhr
➟
(e2e-buyer-bob) 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-bob
cy:command
✔
task setRequestHeaders, Object{3}
cy:command
✔
task getRequestHeaders
cy:command
✔
assert expected **e2e-buyer-bob@caronsale.de** to equal **e2e-buyer-bob@caronsale.de**
Actual: "e2e-buyer-bob@caronsale.de"
Expected: "e2e-buyer-bob@caronsale.de"
cy:command
✔
window
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/profile/salesman/e2e-buyer-bob@caronsale.de
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/account/data/67c8579f-f770-414d-8721-54434081bd5b?augment=settingsBuyer
Status: 200
cy:command
✔
new url http://localhost:4200/salesman/auctions/341c4c98-b28d-45f8-b714-d0d66e54d360
cy:command
✔
get [data-cy=bidding_instantly-add-to-bid-button-0]
cy:command
✔
assert expected **<enzo-button>** to be **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/v1/auction/salesman/d52af128-96cf-4639-8d5c-9192d7343178/341c4c98-b28d-45f8-b714-d0d66e54d360/vouchers
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v2/auction/buyer/saved-search?filter={%22limit%22:10,%22offset%22:0}
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/profile/salesman/e2e-buyer-bob@caronsale.de/contact
Status: 200
cy:xhr
➟
(auctionRefresh) GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-bob@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360?&language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/count-saved-searches?searches=279d4f9e-592e-4205-8c6a-ac32f6fabae3&searches=635a1c48-7094-487b-87cc-bcdc6fd71d0e&type=active
Status: 200
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
first
cy:command
✘
assert expected **1351** to equal **1400**
Actual: 1351
Expected: 1400
cy:xhr
➟
(auctionRefresh) GET https://dev.caronsale.de/api/v1/user-notes/auction/341c4c98-b28d-45f8-b714-d0d66e54d360,341c4c98-b28d-45f8-b714-d0d66e54d360
Status: 200
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-bob@caronsale.de/310994/access
Status: 204
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/buyer/payment/buy-now-pay-later/status
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-bob@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360/bids
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/secured/auctions/341c4c98-b28d-45f8-b714-d0d66e54d360/vehicle/equipment-data?language=en
Status: 200
3) should let the first bidder remove his bidding agent
cy:command
✔
visit /
cy:intercept
➟
Method: DELETE
Matcher: "**/341c4c98-b28d-45f8-b714-d0d66e54d360/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: "**/341c4c98-b28d-45f8-b714-d0d66e54d360*"
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=1769392998090
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/341c4c98-b28d-45f8-b714-d0d66e54d360
cy:command
✔
get [data-cy=bidding_instantly-add-to-bid-button-0]
cy:command
✔
assert expected **<enzo-button>** to be **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}
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/9edc5493-a532-47b9-928b-3f2e0042cdcf/341c4c98-b28d-45f8-b714-d0d66e54d360/vouchers
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/profile/salesman/e2e-buyer-alice@caronsale.de/contact
Status: 200
cy:xhr
➟
(auctionRefresh) GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360?&language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/count-saved-searches?searches=9db4e364-5ff3-4bc0-af42-4be7a574d2af&searches=6e625d25-6657-414d-860e-6f41ba135213&type=active
Status: 200
cy:command
✔
get [data-cy=bidding_highest-bid-value]
cy:command
✔
first
cy:command
✘
assert expected **1351** to equal **1400**
Actual: 1351
Expected: 1400
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/buyer/payment/buy-now-pay-later/status
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/secured/auctions/341c4c98-b28d-45f8-b714-d0d66e54d360/vehicle/equipment-data?language=en
Status: 200
cy:xhr
➟
(auctionRefresh) GET https://dev.caronsale.de/api/v1/user-notes/auction/341c4c98-b28d-45f8-b714-d0d66e54d360,341c4c98-b28d-45f8-b714-d0d66e54d360
Status: 200
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/310994/access
Status: 204
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/341c4c98-b28d-45f8-b714-d0d66e54d360/bids
Status: 200
3 passing (40s)
3 failing
1) Bid on an auction
should let the first bidder place a bidding agent that's higher than the current highest bid:
AssertionError: expected 1351 to equal 1400
+ expected - actual
-1351
+1400
at Context.eval (webpack:///../e2e/caronsale-frontend-web/bid-on-an-auction.spec.cy.ts:79:30)
2) Bid on an auction
should trigger the bidding agent of the first bidder when the second bidder's bid is higher:
AssertionError: expected 1351 to equal 1400
+ expected - actual
-1351
+1400
at Context.eval (webpack:///../e2e/caronsale-frontend-web/bid-on-an-auction.spec.cy.ts:86:0)
3) Bid on an auction
should let the first bidder remove his bidding agent:
AssertionError: expected 1351 to equal 1400
+ expected - actual
-1351
+1400
at Context.eval (webpack:///../e2e/caronsale-frontend-web/bid-on-an-auction.spec.cy.ts:104:0)
bidder place a bidding agent that's higher than the current highest bid (failed)
.png
dding agent of the first bidder when the second bidder's bid is higher (failed).
png
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ auction-details.spec.cy.ts 00:23 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ auction-room.spec.cy.ts 00:27 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ auctions-overview.spec.cy.ts 00:42 3 3 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ bid-from-list-view.spec.cy.ts 00:25 2 2 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ bid-on-an-auction.spec.cy.ts 00:39 6 3 3 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 5 failed (20%) 02:38 15 12 3 - -
##[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/SUP-374_status-preview
CLOUDINARY_URL: ***
##[endgroup]
E2E failure videos:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/video/upload/v1769393007/delete-me_e2e/feat_SUP-374_status-preview/bid-on-an-auction.spec.cy.ts.mp4
E2E failure screenshots:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1769393013/delete-me_e2e/feat_SUP-374_status-preview/core/bid-on-an-auction.spec.cy.ts/Bid_on_an_auction_--_should_trigger_the_bidding_agent_of_the_first_bidder_when_the_second_bidder_s_bid_is_higher_failed.png
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1769393013/delete-me_e2e/feat_SUP-374_status-preview/core/bid-on-an-auction.spec.cy.ts/Bid_on_an_auction_--_should_let_the_first_bidder_remove_his_bidding_agent_failed.png
- https://res.cloudinary.com/castle-tech-gmbh-dev/image/upload/v1769393013/delete-me_e2e/feat_SUP-374_status-preview/core/bid-on-an-auction.spec.cy.ts/Bid_on_an_auction_--_should_let_the_first_bidder_place_a_bidding_agent_that_s_higher_than_the_current_highest_bid_failed.png
E2E failure html files:
------------------------
- https://res.cloudinary.com/castle-tech-gmbh-dev/raw/upload/v1769393015/delete-me_e2e/feat_SUP-374_status-preview/bid-on-an-auction.spec.cy.ts/should_trigger_the_bidding_agent_of_the_first_bidder_when_the_second_bidder%27s_bid_is_higher/index.html
- https://res.cloudinary.com/castle-tech-gmbh-dev/raw/upload/v1769393015/delete-me_e2e/feat_SUP-374_status-preview/bid-on-an-auction.spec.cy.ts/should_let_the_first_bidder_remove_his_bidding_agent/index.html
- https://res.cloudinary.com/castle-tech-gmbh-dev/raw/upload/v1769393015/delete-me_e2e/feat_SUP-374_status-preview/bid-on-an-auction.spec.cy.ts/should_let_the_first_bidder_place_a_bidding_agent_that%27s_higher_than_the_current_highest_bid/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/dcc45aa4-92bf-4b93-ae4b-1ed8d7a7854e' 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 (2405) (npm exec http-s)
Terminate orphan process: pid (2428) (sh)
Terminate orphan process: pid (2430) (http-server)