mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
10 lines
306 B
TypeScript
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')
|
|
})
|
|
})
|