mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +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')
|
|
})
|
|
})
|