mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 00:47:50 +01:00
Fix feature flags insight link (#3865)
This commit is contained in:
parent
3b72a3acb3
commit
e532223435
@ -33,6 +33,11 @@ describe('Feature Flags', () => {
|
||||
cy.get('[data-attr=feature-flag-submit]').click()
|
||||
cy.get('.Toastify__toast-body').click() // clicking the toast gets you back to the list
|
||||
cy.get('[data-attr=feature-flag-table]').should('contain', 'beta-feature-updated')
|
||||
|
||||
cy.get('[data-attr=usage]').click()
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname.toString()).to.contain('/insight')
|
||||
})
|
||||
})
|
||||
|
||||
it('Delete feature flag', () => {
|
||||
|
@ -84,6 +84,7 @@ export function FeatureFlags(): JSX.Element {
|
||||
BackTo
|
||||
}
|
||||
data-attr="usage"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
Insights <ExportOutlined />
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user