mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
bb1d44531f
* 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>
18 lines
497 B
JavaScript
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', () => {})
|
|
})
|