[MM-51098] Hide "copy invite link" when selecting guest - migrated from webapp (#22745)

Этот коммит содержится в:
Julien Tant
2023-04-03 09:20:44 -07:00
коммит произвёл GitHub
родитель c3b32de46e
Коммит 72cd7ac4e0
3 изменённых файлов: 18 добавлений и 2 удалений

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

@@ -223,4 +223,15 @@ describe('Guest Account - Guest User Invitation Flow', () => {
// * Verify invite more button is present
cy.findByTestId('invite-more').should('be.visible');
});
it('hides the copy link button when inviting guests', () => {
// # Open team menu and click 'Invite People'
cy.uiOpenTeamMenu('Invite People');
// # Select Guest
cy.findByTestId('inviteGuestLink').should('be.visible').click();
// * The button "Copy invite link" should not exist
cy.findByTestId('InviteView__copyInviteLink').should('not.exist');
});
});