0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:04:16 +01:00
posthog/cypress/integration/person.js
2020-11-17 08:40:48 -06:00

18 lines
544 B
JavaScript

describe('Person', () => {
beforeEach(() => {
cy.get('[data-attr=menu-item-people]').click() // TODO: Adjust when releasing navigation-1775
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', () => {})
})