Skip to content

Commit

Permalink
Creating server port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiollende committed Apr 28, 2024
1 parent d1feb39 commit fc809bb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion webapp/e2e/steps/leaderboard.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/logout.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/normal-game.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/statistics.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/trivia-game.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 10000 })

await page
.goto("http://localhost:80", {
.goto("http://localhost", {
waitUntil: "networkidle0",
})
.catch(() => {});
Expand Down
4 changes: 2 additions & 2 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"scripts": {
"start": "set PORT=80 && set HTTP=true && react-scripts start",
"build": "set PORT=80 && set HTTP=true && react-scripts build",
"prod": "serve -s build",
"prod": "serve -s build -l 80",
"test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!axios)/'",
"test:e2e": "start-server-and-test 'node e2e/test-environment-setup.js' http://localhost:8000/health prod https://localhost:80 \"cd e2e && jest\"",
"test:e2e": "start-server-and-test 'node e2e/test-environment-setup.js' http://localhost:8000/health prod 80 \"cd e2e && jest\"",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down

0 comments on commit fc809bb

Please sign in to comment.