From cc329dae1d538bd67b202baba1e22a822a2b8f34 Mon Sep 17 00:00:00 2001 From: Karthik B Date: Mon, 20 Feb 2023 07:44:45 -0800 Subject: [PATCH] Fix e2e failures due to Node17+ upgrade in github actions (#1219) See cypress-io/github-action#534 (comment) (thanks @charlie-tf ) The default webpack configuration's host value was changed from localhost to 127.0.0.1 to support the Node 17+ changes with how DNS names are resolved. Addressed in https://github.com/cypress-io/cypress/pull/21430. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 425f63eeaed..0004ae38671 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "generate-types": "node -r esm scripts/openapi-typescript-formatter.js", "cy:run": "TZ=UTC cypress run", "cy": "TZ=UTC cypress open", - "e2e": "start-server-and-test start:dev http://localhost:3000 cy:run && yarn e2e:report", + "e2e": "start-server-and-test start:dev http://127.0.0.1:3000 cy:run && yarn e2e:report", "e2e:report": "npx nyc report --reporter=text", "license-report": "license-report --only=prod --department.value=terraware --relatedTo.value=terraware-web --output=html > docs/license-report.html", "lint": "tslint --project tsconfig.json",