: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(playwright): drop stale data-attr click after LemonRadio refactor (#59121)
Sandy Spicer60ac4aa5413e
diff --git a/playwright/e2e/surveys/crud.spec.ts b/playwright/e2e/surveys/crud.spec.tsindex f5ba671f6660..3ed3008271ac 100644--- a/playwright/e2e/surveys/crud.spec.ts+++ b/playwright/e2e/surveys/crud.spec.ts@@ -197,7 +197,9 @@ test.describe('CRUD Survey', () => {await page.locator('[data-attr="survey-popup-delay-input"]').fill('5')await page.locator('.LemonButton').getByText('Display conditions').click()- await page.locator('[data-attr="survey-display-conditions-select"]').click()+ // Display conditions is now a LemonRadio whose outer data-attr is not+ // forwarded to the DOM (only inner option `data-attr`s are). Click the+ // "match conditions" radio option directly.await page.locator('[data-attr="survey-display-conditions-select-users"]').click()await expect(page.getByText('Cancel survey on events')).toBeVisible()