chore: prettier

This commit is contained in:
Percs 2024-10-21 13:44:55 -05:00
parent baa9884d5d
commit 5d809faa75

View file

@ -4,36 +4,36 @@ import { defineConfig, devices } from "@playwright/test";
* See https://playwright.dev/docs/test-configuration. * See https://playwright.dev/docs/test-configuration.
*/ */
export default defineConfig({ export default defineConfig({
testDir: "./tests", testDir: "./tests",
fullyParallel: true, fullyParallel: true,
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
retries: 0, retries: 0,
reporter: "html", reporter: "html",
timeout: 20000, timeout: 20000,
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: { use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry", trace: "on-first-retry",
actionTimeout: 5000, actionTimeout: 5000,
baseURL: "http://localhost:1337", baseURL: "http://localhost:1337",
}, },
/* Configure projects for major browsers */ /* Configure projects for major browsers */
projects: [ projects: [
{ {
name: "chromium", name: "chromium",
use: { ...devices["Desktop Chrome"] }, use: { ...devices["Desktop Chrome"] },
}, },
// { // {
// name: "firefox", // name: "firefox",
// use: { ...devices["Desktop Firefox"] }, // use: { ...devices["Desktop Firefox"] },
// }, // },
], ],
/* Run your local dev server before starting the tests */ /* Run your local dev server before starting the tests */
webServer: { webServer: {
command: "pnpm run dev", command: "pnpm run dev",
url: "http://127.0.0.1:1337", url: "http://127.0.0.1:1337",
reuseExistingServer: false, reuseExistingServer: false,
}, },
}); });