0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/integration/person.js
Yakko Majuri bb1d44531f
Session Recording tests (#1827)
* added backend tests for sessions endpoint

* added cypress tests for person

* rerun tests

* updated backend tests

* Fix tests

Co-authored-by: Karl-Aksel Puulmann <oxymaccy@gmail.com>
2020-10-08 18:25:52 +03:00

18 lines
497 B
JavaScript

describe('Person', () => {
beforeEach(() => {
cy.get('[data-attr=menu-item-people]').click()
cy.contains('deborah.fernandez@gmail.com').click()
})
it('Can access person page', () => {
cy.get('[data-row-key="email"] > :nth-child(1)').should('contain', 'email')
})
it('Events table loads', () => {
cy.get('.events').should('exist')
})
// Add when feature flag for session recording is off
// it('Sessions table loads', () => {})
})