Skip to content

Commit 7561e29

Browse files
committed
test: update cypress tests
1 parent dc2bd49 commit 7561e29

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

packages/eui/src/components/modal/modal.spec.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ describe('EuiModal', () => {
152152
cy.realPress('Enter');
153153
cy.focused().contains('Title of modal');
154154
cy.realPress('Tab');
155-
cy.realPress('Tab');
156155
cy.focused().contains('Close');
157156
cy.realPress('Escape');
158157
cy.focused().contains('Show confirm modal');
@@ -186,7 +185,6 @@ describe('EuiModal', () => {
186185
cy.realPress('Enter');
187186
cy.focused().contains('Title of modal');
188187
cy.realPress('Tab');
189-
cy.realPress('Tab');
190188
cy.focused().contains('Show Popover');
191189
cy.realPress('Enter');
192190
cy.focused().contains('Popover content');

packages/eui/src/components/tool_tip/tool_tip.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ describe('EuiToolTip', () => {
152152

153153
cy.get('[data-test-subj="modal"]').focus();
154154

155-
cy.repeatRealPress('Tab', 2);
155+
cy.realPress('Tab');
156156
cy.get('[data-test-subj="tool_tip"]').should('exist');
157157

158158
cy.realPress('Escape');

0 commit comments

Comments
 (0)