[MM-63799] Fix the high number of detached nodes in post list in dynamic-virtualized-list (#30864)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ee5926f03c
Коммит
c6a11763a8
@@ -71,7 +71,7 @@ describe('Collapsed Reply Threads', () => {
|
||||
cy.uiGetPostThreadFooter(rootPost.id).should('not.exist');
|
||||
|
||||
// # Post a reply post as current user
|
||||
cy.postMessageAs({sender: testUser, message: 'reply!', channelId: testChannel.id, rootId: rootPost.id});
|
||||
cy.postMessageAs({sender: testUser, message: 'reply to root post', channelId: testChannel.id, rootId: rootPost.id});
|
||||
|
||||
// # Get thread footer of last post
|
||||
cy.uiGetPostThreadFooter(rootPost.id).within(() => {
|
||||
|
||||
@@ -27,7 +27,8 @@ describe('Leave Channel Command', () => {
|
||||
it('Should be redirected to last channel when user leaves channel with /leave command', () => {
|
||||
// # Go to newly created channel
|
||||
cy.get('#sidebarItem_' + testChannel.name).click({force: true});
|
||||
cy.findAllByTestId('postView').should('be.visible');
|
||||
|
||||
cy.findAllByTestId('postView').last().scrollIntoView().should('be.visible');
|
||||
|
||||
// # Post /leave command in center channel
|
||||
cy.postMessage('/leave ');
|
||||
|
||||
@@ -139,6 +139,9 @@ describe('Teams Suite', () => {
|
||||
});
|
||||
|
||||
cy.get('#sidebarItem_off-topic').should('be.visible').click({force: true});
|
||||
|
||||
cy.findAllByTestId('postView').last().scrollIntoView();
|
||||
|
||||
cy.getLastPost().wait(TIMEOUTS.HALF_SEC).then(($el) => {
|
||||
cy.wrap($el).get('.user-popover').
|
||||
should('be.visible').
|
||||
|
||||
@@ -139,7 +139,7 @@ Cypress.Commands.add('uiClickSidebarItem', (name) => {
|
||||
});
|
||||
cy.get('#tutorial-threads-mobile-header span.Button_label').contains('Followed threads');
|
||||
} else {
|
||||
cy.findAllByTestId('postView').should('be.visible');
|
||||
cy.findAllByTestId('postView').last().scrollIntoView().should('be.visible');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user