Keybinds E2E: simplify keybinds e2e even further (#89819)

simplify keybinds e2e even further
This commit is contained in:
Ashley Harrison 2024-06-27 11:15:15 +01:00 committed by GitHub
parent a15a206e9c
commit 89fe64f900
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View File

@ -60,11 +60,5 @@ describe.skip('Keyboard shortcuts', () => {
e2e.components.RefreshPicker.runButtonV2().should('have.text', 'Run query');
expectedRange = `Time range selected: 2024-06-05 10:04:00 to 2024-06-05 10:05:00`; // 1 min back
e2e.components.TimePicker.openButton().should('have.attr', 'aria-label', expectedRange);
cy.log('Trying one shift-right');
cy.get('body').type('t{rightarrow}');
e2e.components.RefreshPicker.runButtonV2().should('have.text', 'Run query');
expectedRange = `Time range selected: 2024-06-05 10:05:00 to 2024-06-05 10:06:00`; // 1 min forward
e2e.components.TimePicker.openButton().should('have.attr', 'aria-label', expectedRange);
});
});

View File

@ -61,11 +61,5 @@ describe('Keyboard shortcuts', () => {
e2e.components.RefreshPicker.runButtonV2().should('have.text', 'Run query');
expectedRange = `Time range selected: 2024-06-05 10:04:00 to 2024-06-05 10:05:00`; // 1 min back
e2e.components.TimePicker.openButton().should('have.attr', 'aria-label', expectedRange);
cy.log('Trying one shift-right');
cy.get('body').type('t{rightarrow}');
e2e.components.RefreshPicker.runButtonV2().should('have.text', 'Run query');
expectedRange = `Time range selected: 2024-06-05 10:05:00 to 2024-06-05 10:06:00`; // 1 min forward
e2e.components.TimePicker.openButton().should('have.attr', 'aria-label', expectedRange);
});
});