Этот коммит содержится в:
yasserfaraazkhan
2024-03-20 23:09:45 +05:30
коммит произвёл GitHub
родитель 6ea363e260
Коммит 9e5d486a5b
33 изменённых файлов: 104 добавлений и 116 удалений

Просмотреть файл

@@ -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');