[MM-63799] Fix the high number of detached nodes in post list in dynamic-virtualized-list (#30864)

Этот коммит содержится в:
M-ZubairAhmed
2025-06-11 22:42:15 +05:30
коммит произвёл GitHub
родитель ee5926f03c
Коммит c6a11763a8
9 изменённых файлов: 201 добавлений и 222 удалений

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

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