-
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.
chore(3000): remove feature flag (#19416)
- Loading branch information
1 parent
988662e
commit e1c68da
Showing
1,310 changed files
with
313 additions
and
832 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
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
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
Oops, something went wrong.