Skip to content

Commit 511c775

Browse files
committed
Fixing smoke script
1 parent 95d1085 commit 511c775

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: packages/e2e/docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
e2e:
99
build:
1010
args:
11-
ALPINE_RELEASE: 3.17
11+
ALPINE_RELEASE: 3.19
1212
NODE_RELEASE: ${NODE_RELEASE}
1313
context: ../..
1414
dockerfile: ./packages/e2e/Dockerfile
@@ -21,6 +21,7 @@ services:
2121
FAUXAUTH_URL: http://fauxauth:3210
2222
SELENIUM_HOST: selenium
2323
SELENIUM_PATH: /
24+
SELENIUM_PORT: 4444
2425
image: textbook/fauxauth-e2e
2526
links:
2627
- fauxauth

Diff for: packages/e2e/fauxauth.spec.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { remote } from "webdriverio";
33

44
const baseUrl = process.env.FAUXAUTH_URL || "http://localhost:3000";
55

6+
/** @type {import("webdriverio").RemoteOptions} */
67
const webdriverConfig = {
78
baseUrl,
89
capabilities: {
@@ -14,6 +15,7 @@ const webdriverConfig = {
1415
hostname: process.env.SELENIUM_HOST,
1516
logLevel: process.env.WD_LOG_LEVEL || "warn",
1617
path: process.env.SELENIUM_PATH,
18+
port: process.env.SELENIUM_PORT ? parseInt(process.env.SELENIUM_PORT, 10) : undefined,
1719
};
1820

1921
describe("fauxauth", () => {

0 commit comments

Comments
 (0)