This commit is contained in:
Ibrahima G. Coulibaly
2024-06-28 16:39:02 +01:00
parent 12c815a1ff
commit f88536ebe3
2 changed files with 11 additions and 12 deletions

19
.idea/workspace.xml generated
View File

@@ -5,7 +5,6 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="fix: ci"> <list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="fix: ci">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/playwright.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/playwright.config.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/playwright.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/playwright.config.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
@@ -199,14 +198,6 @@
<workItem from="1719492452780" duration="8000" /> <workItem from="1719492452780" duration="8000" />
<workItem from="1719496624579" duration="6148000" /> <workItem from="1719496624579" duration="6148000" />
</task> </task>
<task id="LOCAL-00033" summary="feat: contributors graph">
<option name="closed" value="true" />
<created>1719165093734</created>
<option name="number" value="00033" />
<option name="presentableId" value="LOCAL-00033" />
<option name="project" value="LOCAL" />
<updated>1719165093734</updated>
</task>
<task id="LOCAL-00034" summary="fix: readme"> <task id="LOCAL-00034" summary="fix: readme">
<option name="closed" value="true" /> <option name="closed" value="true" />
<created>1719165600245</created> <created>1719165600245</created>
@@ -591,7 +582,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1719588501953</updated> <updated>1719588501953</updated>
</task> </task>
<option name="localTasksCounter" value="82" /> <task id="LOCAL-00082" summary="fix: ci">
<option name="closed" value="true" />
<created>1719588854025</created>
<option name="number" value="00082" />
<option name="presentableId" value="LOCAL-00082" />
<option name="project" value="LOCAL" />
<updated>1719588854025</updated>
</task>
<option name="localTasksCounter" value="83" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">

View File

@@ -1,6 +1,6 @@
import { defineConfig, devices } from '@playwright/test'; import { defineConfig, devices } from '@playwright/test';
const baseUrl = process.env.BASE_URL || 'http://localhost:5050'; const isCI = !!process.env.CI;
export default defineConfig({ export default defineConfig({
testDir: './src', testDir: './src',
@@ -8,7 +8,7 @@ export default defineConfig({
fullyParallel: true, fullyParallel: true,
retries: 1, retries: 1,
use: { use: {
baseURL: 'http://localhost:5173', baseURL: isCI ? 'http://localhost:4173' : 'http://localhost:5173',
trace: 'on-first-retry' trace: 'on-first-retry'
}, },
webServer: { webServer: {