Running: auction-details.spec.cy.ts (1 of 6)
Auction Details
✓ should contain auction details (31374ms)
1) should navigate with next and previous buttons
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"}
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=1770899153712
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:intercept
➟
Method: GET
Matcher: "/\\/api\\/v1\\/auction\\/salesman\\/(active|running)\\/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6.+/g"
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/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6?tabId=0&limit=20&offset=0
cy:command
✔
wait @getAuction
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/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6/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/count-saved-searches?searches=9db4e364-5ff3-4bc0-af42-4be7a574d2af&searches=6e625d25-6657-414d-860e-6f41ba135213&type=active
Status: 200
cy:xhr
➟
(getAuction) GET https://dev.caronsale.de/api/v1/auction/salesman/active/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6?&language=en&withDirectionalTravelInfo=true&filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D
Status: 200
cy:command
✔
get body
cy:command
✔
get [data-cy=auction-details_offer-id]
cy:command
✔
assert expected **<enzo-text.hydrated>** to contain **1F605**
cy:intercept
➟
Method: GET
Matcher: "/\\/api\\/v1\\/auction\\/salesman\\/(active|running)\\/.+\\/next-auction.+/g"
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/328457/access
Status: 204
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/buyer/payment/buy-now-pay-later/status
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6/bids
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/secured/auctions/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6/vehicle/equipment-data?language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/user-notes/auction/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6,5aaa5ab9-efbe-46f3-af75-7c19eb268ad6
Status: 200
cy:command
✔
scrollTo top
cy:command
✔
get [data-cy=auction-details_next-button]
cy:command
✔
find button
cy:command
✔
assert expected **<button.button.ng-star-inserted>** not to be **disabled**
cy:command
✔
get [data-cy=auction-details_next-button]
cy:command
✔
click
cy:xhr
➟
(getAuction) GET https://dev.caronsale.de/api/v1/auction/salesman/active/5aaa5ab9-efbe-46f3-af75-7c19eb268ad6/next-auction?filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D&language=en&withDirectionalTravelInfo=true
Status: 200
cy:command
✔
wait @getNextAuction
cy:command
✔
get [data-cy=auction-details_offer-id]
cy:command
✔
new url http://localhost:4200/salesman/auctions/1b238a7c-9422-422b-951f-6a8f36c47e39?tabId=0&limit=20&offset=0
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/9edc5493-a532-47b9-928b-3f2e0042cdcf/1b238a7c-9422-422b-951f-6a8f36c47e39/vouchers
Status: 200
cy:command
✔
assert expected **<enzo-text.hydrated>** to contain **2F605**
cy:command
✔
assert expected **<enzo-text.hydrated>** not to contain **1F605**
cy:intercept
➟
Method: GET
Matcher: "/\\/api\\/v1\\/auction\\/salesman\\/(active|running)\\/1b238a7c-9422-422b-951f-6a8f36c47e39\\/previous-auction.+/g"
cy:xhr
❖
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/auction/328458/transport
Status: 500
cy:xhr
➟
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/328458/access
Status: 204
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/1b238a7c-9422-422b-951f-6a8f36c47e39/bids
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/secured/auctions/1b238a7c-9422-422b-951f-6a8f36c47e39/vehicle/equipment-data?language=en
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/user-notes/auction/1b238a7c-9422-422b-951f-6a8f36c47e39,1b238a7c-9422-422b-951f-6a8f36c47e39
Status: 200
cy:command
✔
scrollTo top
cy:command
✔
get [data-cy=auction-details_previous-button]
cy:command
✔
find button
cy:command
✔
assert expected **<button.button.ng-star-inserted>** not to be **disabled**
cy:command
✔
get [data-cy=auction-details_previous-button]
cy:command
✔
click
cy:xhr
❖
(getPreviousAuction) GET https://dev.caronsale.de/api/v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39/previous-auction?filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D&language=en&withDirectionalTravelInfo=true
Status: 404
Response body: {
"msgKey": "auction.not-found",
"params": {
"auctionId": "1b238a7c-9422-422b-951f-6a8f36c47e39"
},
"message": "Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden.",
"errorName": "NotFoundError",
"errorStack": "NotFoundError: Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden.\n at I18nHTTPErrorFactoryService.createAuctionNotFoundError (/app/dist/modules/common/error/i18n-http-error-factory.service.js:97:16)\n at AuctionManagementService.getAuctionByUUIDOr404 (/app/dist/modules/marketplace/auction/auction-management.service.js:887:44)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async BuyerAuctionManagementController.getPreviousAuctionWithContext (/app/dist/modules/marketplace/auction/buyer-auction-management.controller.js:537:32)",
"originalError": "NotFoundError: Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden."
}
cy:command
✔
wait @getPreviousAuction
cy:command
✘
get [data-cy=auction-details_offer-id]
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/auction/salesman/9edc5493-a532-47b9-928b-3f2e0042cdcf/1b238a7c-9422-422b-951f-6a8f36c47e39/vouchers
Status: 404
cy:command
✘
assert expected **<enzo-text.hydrated>** to contain **1F605**
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39?&language=en&withDirectionalTravelInfo=true&filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D
Status: 404
cy:xhr
❖
POST https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/auction/328458/transport
Status: 404
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/auction/salesman/e2e-buyer-alice@caronsale.de/1b238a7c-9422-422b-951f-6a8f36c47e39/bids
Status: 404
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/secured/auctions/1b238a7c-9422-422b-951f-6a8f36c47e39/vehicle/equipment-data?language=en
Status: 404
cons:error
✘
HttpErrorResponse: HTTP 404 NotFound /v1/secured/auctions/1b238a7c-9422-422b-951f-6a8f36c47e39/vehicle/equipment-data?language=en
Error
at _CosCoreClient.requestWithPrivileges (http://localhost:4200/chunk-PTLIF5RB.js:86727:122)
at Object.fn (http://localhost:4200/chunk-YDO646DK.js:4715:22)
at Object.run (http://localhost:4200/chunk-S6TLEG7F.js:24401:12)
at runEffectsInView (http://localhost:4200/chunk-S6TLEG7F.js:10990:17)
at refreshView (http://localhost:4200/chunk-S6TLEG7F.js:11102:5)
at detectChangesInView (http://localhost:4200/chunk-S6TLEG7F.js:11249:5)
at detectChangesInViewIfAttached (http://localhost:4200/chunk-S6TLEG7F.js:11232:3)
at detectChangesInEmbeddedViews (http://localhost:4200/chunk-S6TLEG7F.js:11203:7)
at refreshView (http://localhost:4 ...
cons:error
✘
HttpErrorResponse: HTTP 404 NotFound /v1/auction/salesman/e2e-buyer-alice@caronsale.de/1b238a7c-9422-422b-951f-6a8f36c47e39/bids
Error
at _CosCoreClient.requestWithPrivileges (http://localhost:4200/chunk-PTLIF5RB.js:86727:122)
at _CosBuyerClientService.authenticatedRequestWithPrivileges (http://localhost:4200/chunk-CI2TAQO4.js:603:27)
at _CosBuyerEnglishAuctionClientService.getBiddersList (http://localhost:4200/chunk-DHEWMDNT.js:2132:36)
at _BidsAmountComponent.fetchBids (http://localhost:4200/chunk-LTLGSHOF.js:479:31)
at _BidsAmountComponent.ngOnInit (http://localhost:4200/chunk-LTLGSHOF.js:447:10)
at callHookInternal (http://localhost:4200/chunk-S6TLEG7F.js:5731:10)
at callHook (http://localhost:4200/chunk-S6TLEG7F.js:5746:7)
at callHooks (http://localhost ...
cons:error
✘
HttpErrorResponse: HTTP 404 NotFound /v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39?&language=en&withDirectionalTravelInfo=true&filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D
Error
at _CosCoreClient.requestWithPrivileges (http://localhost:4200/chunk-PTLIF5RB.js:86727:122)
at _CosBuyerClientService.authenticatedRequestWithPrivileges (http://localhost:4200/chunk-CI2TAQO4.js:603:27)
at _CosBuyerClientService.getAuction (http://localhost:4200/chunk-CI2TAQO4. ...
cy:xhr
❖
(getNextAuction) GET https://dev.caronsale.de/api/v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39/next-auction?filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D&language=en&withDirectionalTravelInfo=true
Status: 404
Response body: {
"msgKey": "auction.not-found",
"params": {
"auctionId": "1b238a7c-9422-422b-951f-6a8f36c47e39"
},
"message": "Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden.",
"errorName": "NotFoundError",
"errorStack": "NotFoundError: Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden.\n at I18nHTTPErrorFactoryService.createAuctionNotFoundError (/app/dist/modules/common/error/i18n-http-error-factory.service.js:97:16)\n at AuctionManagementService.getAuctionByUUIDOr404 (/app/dist/modules/marketplace/auction/auction-management.service.js:887:44)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async BuyerAuctionManagementController.getNextAuctionWithContext (/app/dist/modules/marketplace/auction/buyer-auction-management.controller.js:480:32)",
"originalError": "NotFoundError: Auktion #1b238a7c-9422-422b-951f-6a8f36c47e39 wurde nicht gefunden."
}
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/auction/salesman/9edc5493-a532-47b9-928b-3f2e0042cdcf/1b238a7c-9422-422b-951f-6a8f36c47e39/vouchers
Status: 404
cy:xhr
❖
GET https://dev.caronsale.de/api/v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39?&language=en&withDirectionalTravelInfo=true&filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D
Status: 404
cons:error
✘
HttpErrorResponse: HTTP 404 NotFound /v1/auction/salesman/active/1b238a7c-9422-422b-951f-6a8f36c47e39?&language=en&withDirectionalTravelInfo=true&filter=%7B%22vehicleSearchQuery%22%3A%7B%22make%22%3A%22%22%2C%22model%22%3A%22%22%2C%22mileageTo%22%3Anull%2C%22mileageFrom%22%3Anull%2C%22ezTo%22%3Anull%2C%22ezFrom%22%3Anull%2C%22ezMonth%22%3Anull%2C%22ezYear%22%3Anull%2C%22hpFrom%22%3Anull%2C%22hpTo%22%3Anull%7D%2C%22isMinAskReached%22%3Anull%2C%22locationZipCodeQuery%22%3Anull%2C%22sortBy%22%3Anull%7D
Error
at _CosCoreClient.requestWithPrivileges (http://localhost:4200/chunk-PTLIF5RB.js:86727:122)
at _CosBuyerClientService.authenticatedRequestWithPrivileges (http://localhost:4200/chunk-CI2TAQO4.js:603:27)
at _CosBuyerClientService.getAuction (http://localhost:4200/chunk-CI2TAQO4. ...
1 passing (50s)
1 failing
1) Auction Details
should navigate with next and previous buttons:
AssertionError: Timed out retrying after 10000ms: Expected to find element: `[data-cy=auction-details_offer-id]`, but never found it.
at Context.eval (webpack:///../e2e/caronsale-frontend-web/auction-details.spec.cy.ts:56:0)
────────────────────────────────────────────────────────────────────────────────────────────────────