Browse Source

feat(testing): Switched to mysql in local setup

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
602299ec54
  1. 2
      scripts/playwright/setup/index.ts

2
scripts/playwright/setup/index.ts

@ -9,7 +9,7 @@ export interface NcContext {
const setup = async ({page, typeOnLocalSetup}: {page: Page, typeOnLocalSetup?: string}): Promise<NcContext> => {
let dbType = process.env.CI ? process.env.E2E_TYPE : typeOnLocalSetup;
dbType = dbType || 'sqlite';
dbType = dbType || 'mysql';
const response = await axios.post(`http://localhost:8080/api/v1/meta/test/reset`, {
parallelId: process.env.TEST_PARALLEL_INDEX,

Loading…
Cancel
Save