Skip to content

Commit f5031d1

Browse files
committed
fix: base url
1 parent 4f93942 commit f5031d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default defineConfig({
2929
/* Shared settings for all the projects below */
3030
use: {
3131
/* Base URL to use in actions like `await page.goto('/')` */
32-
baseURL: 'http://localhost:3000',
32+
baseURL: process.env.CI ? 'http://localhost:3000/docusaurus' : 'http://localhost:3000',
3333

3434
/* Collect trace when retrying the failed test */
3535
trace: 'on-first-retry',

0 commit comments

Comments
 (0)