0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/cypress/e2e/eventDefinitions.js

14 lines
553 B
JavaScript
Raw Normal View History

describe('Event Definitions', () => {
beforeEach(() => {
cy.visit('/data-management/events')
})
it('See recordings action', () => {
cy.get('[data-attr=events-definition-table]').should('exist')
cy.get('[data-attr=event-definitions-table-more-button-entered_free_trial]').first().click()
cy.get('[data-attr=event-definitions-table-see-recordings]').should('exist')
cy.get('[data-attr=event-definitions-table-see-recordings]').click()
cy.url().should('contain', 'entered_free_trial')
})
})