0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
posthog/playwright/e2e-vrt/components/ActivityLog.spec.ts
Michael Matloka bd1198f21d
feat(lemon-ui): Add active state to LemonBadge (#13455)
* feat(lemon-ui): Add `active` state to `LemonBadge`

* Improve snapshot boundaries
2022-12-22 13:29:05 +01: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()
})
})