[MM-57383] User profile popover performance improved and redesigned (#26420)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4fbc96ec02
Коммит
0911e4dee7
@@ -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();
|
||||
|
||||
@@ -76,7 +76,7 @@ describe('Profile popover User A & B', () => {
|
||||
find(`[data-mention=${otherUser.username}]`).
|
||||
should('be.visible').
|
||||
click();
|
||||
cy.get('#user-profile-popover').should('be.visible');
|
||||
cy.get('div.user-profile-popover').should('be.visible');
|
||||
});
|
||||
|
||||
// # Add to a Channel should not be shown.
|
||||
|
||||
Ссылка в новой задаче
Block a user