[MM-57383] User profile popover performance improved and redesigned (#26420)

Этот коммит содержится в:
M-ZubairAhmed
2024-05-15 07:35:25 +00:00
коммит произвёл GitHub
родитель 4fbc96ec02
Коммит 0911e4dee7
91 изменённых файлов: 4932 добавлений и 7148 удалений

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

@@ -108,9 +108,10 @@ describe('Guest Account - Guest User Experience', () => {
});
// * Verify Guest Badge in Guest User's Profile Popover
cy.get('#user-profile-popover').should('be.visible').within(($el) => {
cy.get('div.user-profile-popover').should('be.visible').within(($el) => {
cy.wrap($el).find('.GuestTag').should('be.visible').and('have.text', 'GUEST');
});
cy.get('button.closeButtonRelativePosition').click();
// # Close the profile popover
cy.get('#channel-header').click();
@@ -168,9 +169,10 @@ describe('Guest Account - Guest User Experience', () => {
});
// * Verify Guest Badge is not displayed in User's Profile Popover
cy.get('#user-profile-popover').should('be.visible').within(($el) => {
cy.get('div.user-profile-popover').should('be.visible').within(($el) => {
cy.wrap($el).find('.user-popover__role').should('not.exist');
});
cy.get('button.closeButtonRelativePosition').click();
// # Close the profile popover
cy.get('#channel-header').click();

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

@@ -106,9 +106,10 @@ describe('Verify Guest User Identification in different screens', () => {
});
// * Verify Guest Badge in Guest User's Profile Popover
cy.get('#user-profile-popover').should('be.visible').within(($el) => {
cy.get('div.user-profile-popover').should('be.visible').within(($el) => {
cy.wrap($el).find('.GuestTag').should('be.visible').and('have.text', 'GUEST');
});
cy.get('button.closeButtonRelativePosition').click();
// # Close the profile popover
cy.get('#channel-header').click();