0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/playwright/e2e-vrt/components/activity-log.spec.ts
Paul D'Ambra 42f0f06b4a
fix(activity-log): Show extended descriptions again (#13415)
* fix: show or hide extended description

* Add a bit of margin

* Handle unsupported insights (retention)

* Instrument ActivityLog visual regression testing

* Remove "Persons Activity" screenshotting

* Return mock activity logs immediately

Co-authored-by: Michael Matloka <dev@twixes.com>
2022-12-20 18:24:53 +00:00

16 lines
559 B
TypeScript

import { toId } from '../../helpers/storybook'
import { test } from '../../fixtures/storybook'
test.describe('Activity Log', () => {
test('displays feature flag activity', async ({ storyPage }) => {
await storyPage.goto(toId('Components/ActivityLog', 'Feature Flag Activity'))
await storyPage.expectComponentScreenshot()
})
test('displays insight activity', async ({ storyPage }) => {
await storyPage.goto(toId('Components/ActivityLog', 'Insight Activity'))
await storyPage.expectComponentScreenshot()
})
})