|
|
@@ -30,7 +30,7 @@ context('Mention username in comment', () => {
|
|
|
const username = 'adm';
|
|
|
|
|
|
cy.intercept('GET', `/_api/v3/users/usernames?q=${username}&limit=20`).as('searchUsername');
|
|
|
- cy.appendTextToEditorUntilContains('@' + username);
|
|
|
+ cy.appendTextToEditorUntilContains('@' + username, 10000);
|
|
|
cy.wait('@searchUsername');
|
|
|
cy.get('.CodeMirror-hints').should('be.visible');
|
|
|
|
|
|
@@ -44,7 +44,7 @@ context('Mention username in comment', () => {
|
|
|
const username = 'user';
|
|
|
|
|
|
cy.intercept('GET', `/_api/v3/users/usernames?q=${username}&limit=20`).as('searchUsername');
|
|
|
- cy.appendTextToEditorUntilContains('@' + username);
|
|
|
+ cy.appendTextToEditorUntilContains('@' + username, 10000);
|
|
|
cy.wait('@searchUsername');
|
|
|
cy.get('.CodeMirror-hints').should('be.visible');
|
|
|
|