Skip to content

Commit 66eed8d

Browse files
committed
trying to fix playwright
1 parent 21428dc commit 66eed8d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ci:format": "prettier . --check --experimental-cli",
2020
"ci:test": "yarn vitest --run --browser.headless --update",
2121
"e2e": "playwright test",
22-
"e2e:chromatic": "yarn dlx chromatic --playwright --project-token=chpt_e92d16169d30db1",
22+
"e2e:chromatic": "yarn chromatic --playwright --project-token=chpt_e92d16169d30db1",
2323
"e2e:report": "playwright show-report",
2424
"clean:res": "rescript clean",
2525
"convert-images": "auto-convert-images",

playwright.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineConfig({
3333
*/
3434
webServer: useLocalServer
3535
? {
36-
command: `yarn wrangler pages dev ${path.join(__dirname, "out")} --port 8788`,
36+
command: `yarn wrangler pages dev ${path.join(__dirname, "build/client")} --port 8788`,
3737
url: "http://localhost:8788",
3838
reuseExistingServer: true,
3939
stdout: "pipe",
@@ -44,7 +44,7 @@ export default defineConfig({
4444

4545
testDir: "./e2e",
4646

47-
testMatch: "e2e/**/*.test.jsx",
47+
testMatch: "**/*.test.{jsx,mjs}",
4848

4949
/** Run each test file in parallel. */
5050
fullyParallel: true,

0 commit comments

Comments
 (0)