From 911eb441368ba89e1aa2d39aea350a9ab07e457c Mon Sep 17 00:00:00 2001 From: alicechai Date: Wed, 14 Feb 2024 20:28:59 +0700 Subject: [PATCH] fix: update playwright.config.ts --- tests/wallet-automation/playwright.config.ts | 51 +------------------- 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/tests/wallet-automation/playwright.config.ts b/tests/wallet-automation/playwright.config.ts index a256a666f7..cb26109f71 100644 --- a/tests/wallet-automation/playwright.config.ts +++ b/tests/wallet-automation/playwright.config.ts @@ -1,14 +1,4 @@ import { defineConfig, devices } from '@playwright/test'; - -/** - * Read environment variables from file. - * https://github.com/motdotla/dotenv - */ -// require('dotenv').config(); - -/** - * See https://playwright.dev/docs/test-configuration. - */ export default defineConfig({ testDir: '.', /* Run tests in files in parallel */ @@ -19,8 +9,6 @@ export default defineConfig({ retries: process.env.CI ? 2 : 0, /* 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', /* 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('/')`. */ @@ -35,41 +23,4 @@ export default defineConfig({ name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, - // { - // name: 'firefox', - // use: { ...devices['Desktop Firefox'] }, - // }, - - // { - // name: 'webkit', - // use: { ...devices['Desktop Safari'] }, - // }, - - /* Test against mobile viewports. */ - // { - // name: 'Mobile Chrome', - // use: { ...devices['Pixel 5'] }, - // }, - // { - // name: 'Mobile Safari', - // use: { ...devices['iPhone 12'] }, - // }, - - /* Test against branded browsers. */ - // { - // name: 'Microsoft Edge', - // use: { ...devices['Desktop Edge'], channel: 'msedge' }, - // }, - // { - // name: 'Google Chrome', - // use: { ...devices['Desktop Chrome'], channel: 'chrome' }, - // }, - ], - - /* Run your local dev server before starting the tests */ - // webServer: { - // command: 'npm run start', - // url: 'http://127.0.0.1:3000', - // reuseExistingServer: !process.env.CI, - // }, -}); +]});