Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ecraig12345 committed Mar 2, 2022
1 parent 7d4930c commit 9ff5d82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { rootClass } from './shared';
/**
* Tab and shift-tab wrap at extreme ends of the FTZ:
*
* can between multiple FocusZones with different button structures
* can tab between multiple FocusZones with different button structures
*/
export const TabWrappingMultiFocusZone = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ describe('FocusTrapZone', () => {
// wait for first focus to finish to avoid timing issue
cy.focused().should('have.text', 'first');

cy.contains('mid').realClick();
cy.focused().should('have.text', 'mid');
cy.contains('last').realClick();
cy.focused().should('have.text', 'last');

// shift+tab focuses the first bumper (since the buttons inside aren't keyboard-focusable)
// => sends focus to first element
Expand Down

0 comments on commit 9ff5d82

Please sign in to comment.