summaryrefslogtreecommitdiff
path: root/_tools/e2e/playwright.config.ts
diff options
context:
space:
mode:
authorHizbu Azka <hanifan.azka@gmail.com>2026-10-23 10:45:25 +0700
committerHizbu Azka <hanifan.azka@gmail.com>2026-10-23 10:46:41 +0700
commit272b2b94a268e1e342dab2daae4031f4eabdbb8e (patch)
tree8e5c49b6e528e5a1a7aa4190a21fbffeebdde165 /_tools/e2e/playwright.config.ts
parent2bd366b984bb0ac3ac98691a51f837731af67b2a (diff)
run prettier
Diffstat (limited to '_tools/e2e/playwright.config.ts')
-rw-r--r--_tools/e2e/playwright.config.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/_tools/e2e/playwright.config.ts b/_tools/e2e/playwright.config.ts
index 1e97f70..fdd7826 100644
--- a/_tools/e2e/playwright.config.ts
+++ b/_tools/e2e/playwright.config.ts
@@ -1,4 +1,4 @@
-import { defineConfig, devices } from '@playwright/test';
+import { defineConfig, devices } from "@playwright/test";
/**
* Read environment variables from file.
@@ -12,7 +12,7 @@ import { defineConfig, devices } from '@playwright/test';
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
- testDir: './tests',
+ testDir: "./tests",
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -22,26 +22,26 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
- reporter: 'html',
+ reporter: "html",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('')`. */
// baseURL: 'http://localhost:3000',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
- trace: 'on-first-retry',
+ trace: "on-first-retry",
},
/* Configure projects for major browsers */
projects: [
{
- name: 'chromium',
- use: { ...devices['Desktop Chrome'] },
+ name: "chromium",
+ use: { ...devices["Desktop Chrome"] },
},
{
- name: 'firefox',
- use: { ...devices['Desktop Firefox'] },
+ name: "firefox",
+ use: { ...devices["Desktop Firefox"] },
},
// {
@@ -72,9 +72,9 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
- command: 'jekyll serve --source .. --destination ../_site',
- url: 'http://localhost:4000',
+ command: "jekyll serve --source .. --destination ../_site",
+ url: "http://localhost:4000",
reuseExistingServer: !process.env.CI,
timeout: 60_000,
},
-})
+});