0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 17:54:41 +01:00
posthog/cypress/integration/sessions.js
Eric Duong 65fedb23e4
Sessions view (#926)
* initial foundation for sessions

* initial ui

* updated icon

* temporary repeated code

* aggregated properly

* working onclick row

* reorganize sessions logic

* paginate

* update test

* fix typing

* remove materialize script

* .

* add api test

* add e2e test

* update label

* fix test

* initial working materialize sessions

* add ellipsis

* working with double migration

* remove materialized and paginate properly

* undo migrations manifest

* remove unneeded diffs

* fix test errors

* fix test

* remove button when unnecessary

* fix logic

* linting error

* styling fix

* more styling

* .

* fix test

* Add cursor pointer

Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
2020-06-16 13:49:31 +02:00

12 lines
334 B
JavaScript

describe('Sessions', () => {
beforeEach(() => {
cy.get('[data-attr=menu-item-events]').click()
cy.get('[data-attr=menu-item-sessions]').click()
})
it('Sessions Table loaded', () => {
cy.get('h1').should('contain', 'Sessions')
cy.get('[data-attr=sessions-table]').should('exist')
})
})