diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index bc488e1..82fadbb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,6 +5,9 @@
+
+
+
@@ -104,7 +107,7 @@
-
+
@@ -198,14 +201,6 @@
-
-
- 1719165600245
-
-
-
- 1719165600245
-
1719169082452
@@ -590,7 +585,15 @@
1719588854025
-
+
+
+ 1719589144843
+
+
+
+ 1719589144843
+
+
diff --git a/README.md b/README.md
index 2b25538..ee58f81 100644
--- a/README.md
+++ b/README.md
@@ -63,7 +63,7 @@ npm run test
- For e2e tests
```bash
-npm run test:e2e:run
+npm run test:e2e
```
### Contributors
diff --git a/package.json b/package.json
index 225d647..704a4bd 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,7 @@
"build": "tsc && vite build",
"serve": "vite preview",
"test": "vitest",
- "test:e2e": "start-server-and-test dev http://localhost:5173 test:e2e:run",
- "test:e2e:run": "playwright test",
+ "test:e2e": "playwright test",
"test:ui": "vitest --ui",
"script:create:tool": "node scripts/create-tool.mjs",
"lint": "eslint src --max-warnings=0 --fix",
diff --git a/playwright.config.ts b/playwright.config.ts
index f381d78..9b0c4bc 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -1,14 +1,12 @@
import { defineConfig, devices } from '@playwright/test';
-const isCI = !!process.env.CI;
-
export default defineConfig({
testDir: './src',
testMatch: /\.e2e\.(spec\.)?ts$/,
fullyParallel: true,
retries: 1,
use: {
- baseURL: isCI ? 'http://localhost:4173' : 'http://localhost:5173',
+ baseURL: 'http://localhost:4173',
trace: 'on-first-retry'
},
webServer: {