0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/integration/annotations.js

17 lines
520 B
JavaScript
Raw Permalink Normal View History

describe('Annotations', () => {
beforeEach(() => {
cy.get('[data-attr=menu-item-annotations]').click()
})
it('Annotations loaded', () => {
cy.get('h1').should('contain', 'Annotations')
})
it('Create annotation', () => {
cy.get('[data-attr=create-annotation]').click()
cy.get('[data-attr=create-annotation-input]').type('Test Annotation')
cy.get('[data-attr=create-annotation-submit]').click()
cy.contains('Test Annotation').should('exist')
})
})