Fix flaky Cypress test (#20232)
This commit is contained in:
parent
f5e0171dce
commit
ddf045ac68
1 changed files with 2 additions and 2 deletions
|
|
@ -191,12 +191,12 @@ describe('Comment on articles', () => {
|
|||
|
||||
cy.get('@commentTextArea').type('Some text @se');
|
||||
verifyComboboxMode();
|
||||
cy.get('@commentTextArea').type('{backspace}{backspace}');
|
||||
cy.get('@commentTextArea').type('{backspace}{backspace}{backspace}');
|
||||
});
|
||||
|
||||
cy.findByRole('option', { name: /@search_user_1/ }).should('not.exist');
|
||||
|
||||
cy.get('@commentTextArea').type('se');
|
||||
cy.get('@commentTextArea').type('@se');
|
||||
cy.findByRole('option', { name: /@search_user_1/ }).should('exist');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue