diff --git a/playwright.config.ts b/playwright.config.ts
index d8210e3d..b6f26dab 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -1,6 +1,6 @@
import { defineConfig, devices } from '@playwright/test';
-const port = 3000;
+const PORT = 3000;
/**
* Read environment variables from file.
@@ -38,13 +38,26 @@ export default defineConfig({
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
+ {
+ name: 'firefox',
+ use: {
+ ...devices['Desktop Firefox'],
+ },
+ },
+
+ {
+ name: 'webkit',
+ use: {
+ ...devices['Desktop Safari'],
+ },
+ },
],
/* Run your local dev server before starting the tests */
webServer: {
- command: `npx vite --port ${port}`,
+ command: `yarn start --port ${PORT}`,
timeout: 10 * 1000,
- port,
+ port: PORT,
reuseExistingServer: !process.env.CI,
},
});
diff --git a/src/index.tsx b/src/index.tsx
index a4b68657..3abcf35b 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -3,14 +3,14 @@ import { createRoot } from 'react-dom/client';
import './index.css';
import App from './App';
-// import { initMocks } from './test/server';
+import { initMocks } from './test/server';
const root = createRoot(document.getElementById('root') as HTMLElement);
-// initMocks().then(() => {
-root.render(
-
-
-
-);
-// });
+initMocks().then(() => {
+ root.render(
+
+
+
+ );
+});