Skip to content

Commit

Permalink
Fixing smoke script
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Feb 9, 2024
1 parent 95d1085 commit 511c775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
e2e:
build:
args:
ALPINE_RELEASE: 3.17
ALPINE_RELEASE: 3.19
NODE_RELEASE: ${NODE_RELEASE}
context: ../..
dockerfile: ./packages/e2e/Dockerfile
Expand All @@ -21,6 +21,7 @@ services:
FAUXAUTH_URL: http://fauxauth:3210
SELENIUM_HOST: selenium
SELENIUM_PATH: /
SELENIUM_PORT: 4444
image: textbook/fauxauth-e2e
links:
- fauxauth
Expand Down
2 changes: 2 additions & 0 deletions packages/e2e/fauxauth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { remote } from "webdriverio";

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

/** @type {import("webdriverio").RemoteOptions} */
const webdriverConfig = {
baseUrl,
capabilities: {
Expand All @@ -14,6 +15,7 @@ const webdriverConfig = {
hostname: process.env.SELENIUM_HOST,
logLevel: process.env.WD_LOG_LEVEL || "warn",
path: process.env.SELENIUM_PATH,
port: process.env.SELENIUM_PORT ? parseInt(process.env.SELENIUM_PORT, 10) : undefined,
};

describe("fauxauth", () => {
Expand Down

0 comments on commit 511c775

Please sign in to comment.