We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1e1f2 commit 8240870Copy full SHA for 8240870
packages/kit-headless/src/components/autocomplete/autocomplete.spec.tsx
@@ -296,11 +296,11 @@ describe('Autocomplete', () => {
296
THEN focus should move back to the previous option in the list.`, () => {
297
cy.mount(<RegularAutocomplete />);
298
299
- cy.get('input').type(`A`);
+ cy.get('input').type(`Ba`);
300
301
- cy.findByRole('listbox').should('be.visible');
+ cy.findByRole('listbox');
302
303
- cy.findByRole('option', { name: 'Apricot' }).focus().type(`{uparrow}`);
+ cy.findByRole('option', { name: 'Jabuticaba' }).focus().type(`{uparrow}`);
304
305
cy.get('li').filter(':visible').first().should('have.focus');
306
});
0 commit comments