0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/cypress/integration/systemStatus.js
Tim Glaser bbb4025ab1
Fix e2e tests (#4357)
* Fix e2e tests

* Run as 'production' to better mimick CI

* try no self capture

* Correct event/property definitions

* fix

* fix system status

* Try caching cypress separately

* Cache node modules

* cache pip better

* fix tests

* dont run if not cache

* test

* Cache cypress

* Fix event definitions

* Fix and speed up

* try fixing

* fix

* fix

* faster install

* try self capture 1

* fix multiple

* fix

* fix

* fix

* more speeding up

* Fix tests

* try not installing deps

* fix test global

* possibly quicker

* correct

* Fix
2021-05-20 16:42:26 +02:00

10 lines
343 B
JavaScript

describe('System Status', () => {
it('System Status loaded', () => {
cy.location('pathname').should('eq', '/insights')
cy.wait(500)
cy.get('[data-attr=system-status-badge]').click()
cy.get('h1').should('contain', 'System Status')
cy.get('table').should('contain', 'Postgres events table')
})
})