MM-57354: Fix elastic search e2e tests (#27670)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fb790a860b
Коммит
d71e5e4f4e
@@ -21,7 +21,7 @@ Cypress.Commands.add('uiClickCopyLink', (permalink, postId) => {
|
||||
|
||||
Cypress.Commands.add('uiClickPostDropdownMenu', (postId, menuItem, location = 'CENTER') => {
|
||||
cy.clickPostDotMenu(postId, location);
|
||||
cy.findAllByTestId(`post-menu-${postId}`).eq(0).should('be.visible');
|
||||
cy.findAllByTestId(`unread_post_${postId}`).eq(0).should('be.visible');
|
||||
cy.findByText(menuItem).scrollIntoView().should('be.visible').click({force: true});
|
||||
});
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ Cypress.Commands.add('uiClickSidebarItem', (name) => {
|
||||
cy.uiCloseModal('A new way to view and follow threads');
|
||||
}
|
||||
});
|
||||
cy.findByRole('heading', {name: 'Followed threads'});
|
||||
cy.get('#tutorial-threads-mobile-header span.Button_label').contains('Followed threads');
|
||||
} else {
|
||||
cy.findAllByTestId('postView').should('be.visible');
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user