-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into survey-link-color
# Conflicts: # frontend/__snapshots__/components-empty-message--empty-message.png # frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png # frontend/__snapshots__/posthog-3000-navigation--navigation-base.png
- Loading branch information
Showing
2,282 changed files
with
5,912 additions
and
4,934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
describe('Command Bar', () => { | ||
it('Handles keyboard shortcuts', () => { | ||
/** Show/hide search */ | ||
// show search | ||
cy.get('body').type('{ctrl}k') | ||
cy.get('[data-attr=search-bar-input]').should('exist') | ||
|
||
// TODO: fix hiding search with cmd+k | ||
// hide search with cmd+k | ||
// cy.get('body').type('{cmd}k') | ||
// cy.get('[data-attr=search-bar-input]').should('not.exist') | ||
|
||
// show search | ||
// cy.get('body').type('{ctrl}k') | ||
// cy.get('[data-attr=search-bar-input]').should('exist') | ||
|
||
// hide search with esc | ||
cy.get('body').type('{esc}') | ||
cy.get('[data-attr=search-bar-input]').should('not.exist') | ||
|
||
/** Show/hide actions */ | ||
// show actions | ||
cy.get('body').type('{ctrl}{shift}k') | ||
cy.get('[data-attr=action-bar-input]').should('exist') | ||
|
||
// TODO: fix hiding actions with cmd+shift+k | ||
// hide actions with cmd+shift+k | ||
// cy.get('body').type('{ctrl}{cmd}k') | ||
// cy.get('[data-attr=action-bar-input]').should('not.exist') | ||
|
||
// // show actions | ||
// cy.get('body').type('{ctrl}{shift}k') | ||
// cy.get('[data-attr=action-bar-input]').should('exist') | ||
|
||
// hide actions with esc | ||
cy.get('body').type('{esc}') | ||
cy.get('[data-attr=action-bar-input]').should('not.exist') | ||
|
||
/** Show/hide shortcuts */ | ||
// show shortcuts | ||
cy.get('body').type('{shift}?') | ||
cy.contains('Keyboard shortcuts').should('exist') | ||
|
||
// hide shortcuts with esc | ||
cy.get('body').type('{esc}') | ||
cy.contains('Keyboard shortcuts').should('not.exist') | ||
|
||
/** Toggle between search and actions */ | ||
// TODO: does not work at the moment | ||
}) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.