CypressError: `cy.visit()` failed trying to load:
http://localhost:5004/admin/add-forge/request/1/
The response we received from your web server was:
> 500: Internal Server Error
This was considered a failure because the status code was not `2xx`.
If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Test add forge now request ...`
at http://localhost:5004/__cypress/runner/cypress_runner.js:152342:84
at visitFailedByErr (http://localhost:5004/__cypress/runner/cypress_runner.js:151661:12)
at http://localhost:5004/__cypress/runner/cypress_runner.js:152322:13
at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:11318:23)
at Promise._settlePromiseFromHandler (http://localhost:5004/__cypress/runner/cypress_runner.js:9253:31)
at Promise._settlePromise (http://localhost:5004/__cypress/runner/cypress_runner.js:9310:18)
at Promise._settlePromise0 (http://localhost:5004/__cypress/runner/cypress_runner.js:9355:10)
at Promise._settlePromises (http://localhost:5004/__cypress/runner/cypress_runner.js:9431:18)
at _drainQueueStep (http://localhost:5004/__cypress/runner/cypress_runner.js:6025:12)
at _drainQueue (http://localhost:5004/__cypress/runner/cypress_runner.js:6018:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:6034:5)
at Async.drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:5904:14)
From Your Spec Code:
at Context.eval (http://localhost:5004/__cypress/tests?p=cypress/e2e/add-forge-now-request-dashboard.cy.js:259:10)
TEST RESULT
TEST RESULT
- Run At
- Aug 19 2022, 4:00 PM