From 8ef5ccc8d6154fac9650d800fedfb29b7254a3dc Mon Sep 17 00:00:00 2001 From: Marcus Felling <6855361+MarcusFelling@users.noreply.github.com> Date: Fri, 16 Sep 2022 09:44:20 -0500 Subject: [PATCH] remove commented code from config --- src/Web/E2E/playwright.config.ts | 49 +------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/src/Web/E2E/playwright.config.ts b/src/Web/E2E/playwright.config.ts index 5ebabe9..48f8fab 100644 --- a/src/Web/E2E/playwright.config.ts +++ b/src/Web/E2E/playwright.config.ts @@ -1,15 +1,6 @@ import type { PlaywrightTestConfig } from '@playwright/test'; import { devices } from '@playwright/test'; -/** - * Read environment variables from file. - * https://github.com/motdotla/dotenv - */ -// require('dotenv').config(); - -/** - * See https://playwright.dev/docs/test-configuration. - */ const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ @@ -38,7 +29,6 @@ const config: PlaywrightTestConfig = { actionTimeout: 0, /* Base URL to use in actions like `await page.goto('/')`. */ baseURL: process.env.BASEURL, - /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on', video: 'on', @@ -62,45 +52,8 @@ const config: PlaywrightTestConfig = { 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: { - // channel: 'msedge', - // }, - // }, - // { - // name: 'Google Chrome', - // use: { - // channel: 'chrome', - // }, - // }, + }, ], - - /* Folder for test artifacts such as screenshots, videos, traces, etc. */ - // outputDir: 'test-results/', - - /* Run your local dev server before starting the tests */ - // webServer: { - // command: 'npm run start', - // port: 3000, - // }, }; export default config;