Skip to content

Commit 53b104c

Browse files
chore: refactored file
1 parent 49b06d5 commit 53b104c

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

playwright.config.ts

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
import { defineConfig, devices } from '@playwright/test';
22

3-
/**
4-
* Read environment variables from file.
5-
* https://github.com/motdotla/dotenv
6-
*/
7-
// import dotenv from 'dotenv';
8-
// import path from 'path';
9-
// dotenv.config({ path: path.resolve(__dirname, '.env') });
10-
11-
/**
12-
* See https://playwright.dev/docs/test-configuration.
13-
*/
143
export default defineConfig({
15-
testDir: './__tests__',
4+
testDir: './__tests__/e2e',
165
/* Run tests in files in parallel */
176
fullyParallel: true,
187
/* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -48,32 +37,5 @@ export default defineConfig({
4837
name: 'webkit',
4938
use: { ...devices['Desktop Safari'] },
5039
},
51-
52-
/* Test against mobile viewports. */
53-
// {
54-
// name: 'Mobile Chrome',
55-
// use: { ...devices['Pixel 5'] },
56-
// },
57-
// {
58-
// name: 'Mobile Safari',
59-
// use: { ...devices['iPhone 12'] },
60-
// },
61-
62-
/* Test against branded browsers. */
63-
// {
64-
// name: 'Microsoft Edge',
65-
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
66-
// },
67-
// {
68-
// name: 'Google Chrome',
69-
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
70-
// },
7140
],
72-
73-
/* Run your local dev server before starting the tests */
74-
// webServer: {
75-
// command: 'npm run start',
76-
// url: 'http://127.0.0.1:3000',
77-
// reuseExistingServer: !process.env.CI,
78-
// },
7941
});

0 commit comments

Comments
 (0)