Skip to content

Commit f06a6e1

Browse files
committed
npm run prettier-fix
1 parent a421f32 commit f06a6e1

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

client/playwright.config.ts

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { defineConfig, devices } from '@playwright/test';
1+
import { defineConfig, devices } from "@playwright/test";
22

33
/**
44
* @see https://playwright.dev/docs/test-configuration
55
*/
66
export default defineConfig({
7-
testDir: './e2e',
7+
testDir: "./e2e",
88
/* Run tests in files in parallel */
99
fullyParallel: true,
1010
/* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -14,43 +14,44 @@ export default defineConfig({
1414
/* Opt out of parallel tests on CI. */
1515
workers: process.env.CI ? 1 : undefined,
1616
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
17-
reporter: [
18-
['html', { outputFolder: 'playwright-report' }],
19-
['line']
20-
],
17+
reporter: [["html", { outputFolder: "playwright-report" }], ["line"]],
2118
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2219
use: {
2320
/* Base URL to use in actions like `await page.goto('/')`. */
24-
baseURL: 'http://localhost:6274',
21+
baseURL: "http://localhost:6274",
2522

2623
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
27-
trace: 'on-first-retry',
24+
trace: "on-first-retry",
2825

2926
/* Take screenshots on failure */
30-
screenshot: 'on',
27+
screenshot: "on",
3128
// screenshot: 'only-on-failure',
3229

3330
/* Record video on failure */
34-
video: 'retain-on-failure',
31+
video: "retain-on-failure",
3532
},
3633

3734
/* Configure projects for major browsers */
3835
projects: [
3936
{
40-
name: 'chromium',
41-
use: { ...devices['Desktop Chrome'] },
37+
name: "chromium",
38+
use: { ...devices["Desktop Chrome"] },
4239
},
4340

4441
{
45-
name: 'firefox',
46-
use: { ...devices['Desktop Firefox'] },
42+
name: "firefox",
43+
use: { ...devices["Desktop Firefox"] },
4744
},
4845

4946
// Skip WebKit on macOS due to compatibility issues
50-
...(process.platform !== 'darwin' ? [{
51-
name: 'webkit',
52-
use: { ...devices['Desktop Safari'] },
53-
}] : []),
47+
...(process.platform !== "darwin"
48+
? [
49+
{
50+
name: "webkit",
51+
use: { ...devices["Desktop Safari"] },
52+
},
53+
]
54+
: []),
5455

5556
/* Test against mobile viewports. */
5657
// {
@@ -79,4 +80,4 @@ export default defineConfig({
7980
// url: 'http://127.0.0.1:6274',
8081
// reuseExistingServer: !process.env.CI,
8182
// },
82-
});
83+
});

0 commit comments

Comments
 (0)