feat: improve Playwright configuration and enhance error handling in CreatePRDialog

- Updated Playwright configuration to always reuse existing servers, improving test efficiency.
- Enhanced CreatePRDialog to handle null browser URLs gracefully, ensuring better user experience during PR creation failures.
- Added new unit tests for app specification format and automaker paths, improving test coverage and reliability.
- Introduced tests for file system utilities and logger functionality, ensuring robust error handling and logging behavior.
- Implemented comprehensive tests for SDK options and dev server service, enhancing overall test stability and maintainability.
This commit is contained in:
Cody Seibert
2025-12-16 22:04:47 -05:00
parent 58d6ae02a5
commit 4996a63bcc
8 changed files with 1096 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ export default defineConfig({
{
command: `cd ../server && npm run dev`,
url: `http://localhost:${serverPort}/api/health`,
reuseExistingServer: !process.env.CI,
reuseExistingServer: true,
timeout: 60000,
env: {
...process.env,
@@ -47,7 +47,7 @@ export default defineConfig({
{
command: `npx next dev -p ${port}`,
url: `http://localhost:${port}`,
reuseExistingServer: !process.env.CI,
reuseExistingServer: true,
timeout: 120000,
env: {
...process.env,