RedRoverSchool / JenkinsQA_JS_2024_fall

11 stars 2 forks source link

ERR_001 test createDeleteProject #53

Open age96 opened 2 days ago

age96 commented 2 days ago

cypress-screenshots(1).zip US_001 | Create the project and delete "before each" hook for "TC-001-1-A|Create the project": "before each" hook for "TC-001-1-A|Create the project"

CypressError: cy.visit() failed trying to load:

http://localhost:9090/login?from=%2F

We attempted to make an http request to this URL but the request failed without a response.

We received this error at the network level:

Error: connect ECONNREFUSED 127.0.0.1:9090

Common situations why this would fail:

you don't have internet access

you forgot to run / boot your web server

your web server isn't accessible

you have weird network configuration settings on your computer

Because this error occurred during a before each hook we are skipping the remaining tests in the current suite: US_001 | Create the project... at (http://localhost:8080/__cypress/runner/cypress_runner.js:131450:74) at visitFailedByErr (http://localhost:8080/__cypress/runner/cypress_runner.js:130849:12) at (http://localhost:8080/__cypress/runner/cypress_runner.js:131449:11) at tryCatcher (http://localhost:8080/__cypress/runner/cypress_runner.js:1807:23) at Promise._settlePromiseFromHandler (http://localhost:8080/__cypress/runner/cypress_runner.js:1519:31) at Promise._settlePromise (http://localhost:8080/__cypress/runner/cypress_runner.js:1576:18) at Promise._settlePromise0 (http://localhost:8080/__cypress/runner/cypress_runner.js:1621:10) at Promise._settlePromises (http://localhost:8080/__cypress/runner/cypress_runner.js:1697:18) at _drainQueueStep (http://localhost:8080/__cypress/runner/cypress_runner.js:2407:12) at _drainQueue (http://localhost:8080/__cypress/runner/cypress_runner.js:2400:9) at Async._drainQueues (http://localhost:8080/__cypress/runner/cypress_runner.js:2416:5) at Async.drainQueues (http://localhost:8080/__cypress/runner/cypress_runner.js:2286:14) From Your Spec Code: at Context.eval (webpack://jenkinsqa_js_2024_fall/./cypress/e2e/createProject.cy.js:4:11)

From Node.js Internals: Error: connect ECONNREFUSED 127.0.0.1:9090 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)