mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +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')
|
|
})
|
|
})
|