Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(e2e): remove disabled examples from playwright config (#126132)

posthog[bot]37dd9a23e722
diff --git a/playwright/playwright.config.ts b/playwright/playwright.config.ts
index 3b54253c1786..a83d083121e9 100644
--- a/playwright/playwright.config.ts
+++ b/playwright/playwright.config.ts
@@ -1,11 +1,5 @@
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.
*/
@@ -78,78 +72,5 @@ export default defineConfig({
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
- // {
- // name: 'chromium',
- // use: {
- // ...devices['Desktop Chrome'],
- // launchOptions: {
- // // https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md
- // args: [
- // '--headless=new',
- // '--single-process',
- //
- // '--allow-pre-commit-input',
- // '--deterministic-mode',
- // '--disable-features=PaintHolding',
- // '--disable-partial-raster',
- // '--disable-skia-runtime-opt',
- // '--disable-gpu',
- // '--use-gl=swiftshader',
- // '--force-color-profile=srgb',
- // ],
- // },
- // },
- // },
-
- // {
- // 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: {
- // 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,
- // },
})