Fix Cypress tests on master (#26500)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6ea363e260
Коммит
9e5d486a5b
@@ -120,7 +120,9 @@ describe('Custom emojis', () => {
|
||||
|
||||
cy.get('#emojiPicker').should('be.visible').within(() => {
|
||||
// # Scroll to start of custom category section
|
||||
cy.findByLabelText('emoji_picker.custom').should('exist').click().wait(TIMEOUTS.FIVE_SEC);
|
||||
cy.get('i.icon-emoticon-custom-outline').as('customSection');
|
||||
cy.get('@customSection').click().wait(TIMEOUTS.FIVE_SEC);
|
||||
cy.get('@customSection').click().wait(TIMEOUTS.FIVE_SEC);
|
||||
|
||||
// * Verify custom category header is visible
|
||||
cy.findByText('Custom').should('exist').and('is.visible');
|
||||
|
||||
@@ -110,6 +110,7 @@ describe('Custom emojis', () => {
|
||||
// * Select the custom emoji
|
||||
cy.findAllByTestId('emojiItem').children().click();
|
||||
});
|
||||
cy.uiGetPostTextBox().type('+' + builtinEmojiWithColons).wait(TIMEOUTS.HALF_SEC).type('{enter}').type('{enter}');
|
||||
|
||||
cy.getLastPostId().then((postId) => {
|
||||
cy.get(`#postReaction-${postId}-` + builtinEmoji).should('be.visible');
|
||||
|
||||
Ссылка в новой задаче
Block a user