0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/integration/liveActions.js
Marius Andra e4895ba80a
Cohorts Test (#2003)
* test creating and listing cohorts

* try to fix flakyness by clicking the dropdown item even if it's not visible
2020-10-23 15:52:59 +02:00

21 lines
724 B
JavaScript

describe('Live Actions', () => {
beforeEach(() => {
cy.get('[data-attr=menu-item-events]').click()
cy.get('[data-attr=menu-item-live-actions]').click()
})
/* it('Live actions loaded', () => {
cy.get('[data-attr=events-table]').should('exist')
})
*/
it('Apply 1 overall filter', () => {
cy.get('[data-attr=new-prop-filter-LiveActionsTable]').click()
cy.get('[data-attr=property-filter-dropdown]').click()
cy.get('[data-attr=prop-filter-event-1]').click({ force: true })
cy.get('[data-attr=prop-val]').click()
cy.get('[data-attr=prop-val-1]').click({ force: true })
cy.get('[data-attr=events-table]').should('exist')
})
})