test cypress interaction and if it accounts for mobile design
parent
d99b593213
commit
9b01e78156
|
@ -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');
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in New Issue