0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/cypress/e2e/commandPalette.cy.ts
2022-12-30 21:27:26 +01:00

10 lines
306 B
TypeScript

describe('Command Palette', () => {
it('Shows on Ctrl + K press', () => {
cy.get('body').type('{ctrl}k')
cy.get('[data-attr=command-palette-input]').should('exist')
cy.get('body').type('{cmd}k')
cy.get('[data-attr=command-palette-input]').should('not.exist')
})
})