Update workflow and suppress dev server in e2e tests

The playwright.config.ts file has been updated to comment out the part that runs the local dev server during end-to-end tests. Additionally, an action has been added in the GitHub workflow to specifically run the app. Also, a trivial modification to the 'startTransition' function in the 'invite-members-dialog-container.tsx' file has been made.
This commit is contained in:
giancarlo
2024-04-13 20:50:08 +08:00
parent 52e7b89243
commit cb3e14a265
3 changed files with 15 additions and 9 deletions

View File

@@ -67,12 +67,14 @@ export default defineConfig({
],
/* Run your local dev server before starting the tests */
webServer: {
cwd: '../../',
command: 'pnpm run dev',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
stdout: 'pipe',
stderr: 'pipe',
}
/*
webServer: {
cwd: '../../',
command: 'pnpm run dev',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
stdout: 'pipe',
stderr: 'pipe',
}
*/
});