Skip to content

Commit 0d30f4d

Browse files
author
Dmitriy
committed
fix(config): add host and DOCKER env for Playwright Docker mode
1 parent 1fad5e6 commit 0d30f4d

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/creevey-playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
working-directory: ${{ matrix.fixture }}
111111
env:
112112
STORYBOOK_URL: http://localhost:6006
113-
HOST: 127.0.0.1
113+
DOCKER: "true"
114114
run: npm run creevey -- test
115115

116116
# Run Creevey tests (Bun)
@@ -119,7 +119,7 @@ jobs:
119119
working-directory: ${{ matrix.fixture }}
120120
env:
121121
STORYBOOK_URL: http://localhost:6006
122-
HOST: 127.0.0.1
122+
DOCKER: "true"
123123
run: bun run creevey test
124124

125125
- name: Upload test results

playwright-esm-vite-sb10-bun/creevey.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
88
const config = {
99
testsDir: path.join(__dirname, "stories"),
1010
useDocker: true,
11+
host: "0.0.0.0",
1112
webdriver: PlaywrightWebdriver,
1213
browsers: {
1314
chromium: {

playwright-esm-vite-sb10-react19/creevey.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
88
const config = {
99
testsDir: path.join(__dirname, "stories"),
1010
useDocker: true,
11+
host: "0.0.0.0",
1112
webdriver: PlaywrightWebdriver,
1213
browsers: {
1314
chromium: {

playwright-esm-vite-sb9/creevey.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
88
const config = {
99
testsDir: path.join(__dirname, "stories"),
1010
useDocker: true,
11+
host: "0.0.0.0",
1112
webdriver: PlaywrightWebdriver,
1213
browsers: {
1314
chromium: {

0 commit comments

Comments
 (0)