* Fixed Add Channel_test_cases

* fixed more test cases

* fixed lint
Этот коммит содержится в:
Furqan Malik
2023-04-03 18:22:48 -04:00
коммит произвёл GitHub
родитель 8d301c0d64
Коммит f1f54508f4
11 изменённых файлов: 22 добавлений и 15 удалений

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

@@ -105,7 +105,10 @@ describe('Recent Emoji', () => {
cy.uiGetPostTextBox().type('{enter} {enter}').wait(TIMEOUTS.TWO_SEC);
// # Hover over the last post by opening dot menu on it
cy.clickPostDotMenu();
cy.getLastPostId().then((postId) => {
// # Click on post dot menu so we can check for reaction icon
cy.get(`#post_${postId}`).trigger('mouseover');
});
cy.get('#recent_reaction_0').should('exist').then((recentReaction) => {
// * Assert that custom emoji is present as most recent in quick reaction menu
@@ -152,7 +155,10 @@ describe('Recent Emoji', () => {
cy.reload();
// # Hover over the last post by opening dot menu on it
cy.clickPostDotMenu();
cy.getLastPostId().then((postId) => {
// # Click on post dot menu so we can check for reaction icon
cy.get(`#post_${postId}`).trigger('mouseover');
});
cy.get('#recent_reaction_0').should('exist').then((recentReaction) => {
// * Assert that instead of custom emoji the system emoji is present as most recent in quick reaction menu