test cypress interaction and if it accounts for mobile design

pull/46644/head
Sboonny 2022-09-19 18:12:51 +00:00
parent d99b593213
commit 9b01e78156
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// test if mobile search bar affect the test
describe('Default Navigation Menu', () => {
it('should be possible to open the menu with the tab keybound.', () => {
cy.visit('/learn');
cy.get('toggle-button-nav')
.focus()
.type('{enter}{tab}{tab}')
.should('a', 'focus');
});
});