Running: support-request.spec.cy.ts (4 of 5)
Support Request
Support Request Form
✓ should navigate to Buyer Cockpit or Checkout when clicking "my purchases" button (5018ms)
✓ should navigate to Buyer Cockpit when clicking cancel button (2673ms)
✓ should submit support request with "Other" topic and simple description (3818ms)
✓ should display validation errors when submitting empty form (2468ms)
✓ should enforce character limit on description field when typing (17690ms)
✓ should enforce character limit on description field when pasting text (2871ms)
✓ should display validation error for reason when topic requires it (2916ms)
✓ should display validation error for auction ID when topic requires it (3834ms)
✓ should display validation error for auction ID when it has wrong length (3576ms)
✓ should display validation error for missing documents when required (3837ms)
✓ should not require auction ID for "Other" topic (3296ms)
✓ should show select documents field when topic is "Vehicle Documents" and reason is "Missing Vehicle Documents" (2972ms)
✓ should hide select documents field when reason is changed to something other than "Missing Vehicle Documents" (3227ms)
✓ should submit support request with "Vehicle Documents" topic and missing documents selected (4881ms)
✓ should display file upload components (1855ms)
✓ should upload a file and show it in the upload component (2655ms)
✓ should require terms and conditions checkbox when file is uploaded (3575ms)
✓ should submit form successfully when file is uploaded and terms checkbox is checked (5035ms)
✓ should not submit form when file is uploaded and terms checkbox is not checked (3657ms)
✓ should allow deleting an uploaded file (2497ms)
✓ should not require terms checkbox when no file is uploaded (2697ms)
✓ should upload multiple files (2451ms)
Support Request Submitted
✓ should display success view after form submission (2968ms)
✓ should return to Support Request Form when clicking back button (3179ms)
1) "before each" hook for "should navigate to Buyer Cockpit when clicking done button"
cy:command
✔
clearLocalStorage
cy:command
✔
visit /
cy:intercept
➟
Method: POST
Matcher: "**/api/v1/users/user-request"
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=1770209245510
Status: 200
cy:xhr
➟
GET https://dev.caronsale.de/api/v1/meta
Status: 200
cy:command
✘
wait @e2e-buyer-alice
24 passing (2m)
1 failing
1) Support Request
Support Request Submitted
"before each" hook for "should navigate to Buyer Cockpit when clicking done button":
CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `e2e-buyer-alice`. No request ever occurred.
https://on.cypress.io/wait
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Support Request Submitted`
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)
-- should navigate to Buyer Cockpit when clicking done button -- before each ho
────────────────────────────────────────────────────────────────────────────────────────────────────