Skip to content

Commit a87bd26

Browse files
author
aligneddev
committed
dedicated e2e db
1 parent 7f07f02 commit a87bd26

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/BikeTracking.Frontend/playwright.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ export default defineConfig({
3232
stdout: 'pipe',
3333
stderr: 'pipe',
3434
timeout: 180000,
35+
env: {
36+
// Use a dedicated E2E database so test runs never touch the local dev DB.
37+
// ASP.NET Core maps ConnectionStrings__<name> to ConnectionStrings[name].
38+
ConnectionStrings__BikeTracking: 'Data Source=biketracking.e2e.db',
39+
},
3540
},
3641
{
3742
command: 'npm run dev -- --host localhost --port 9000',

0 commit comments

Comments
 (0)