MM-61032: Add default_team_id to accept invite flow (#28841)
* add default_team_id to accept invite api * add team selector to accept invite flow UI * e2e * lint/i18n
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5a923e0b94
Коммит
fcded9559c
@@ -84,6 +84,9 @@ describe('Connected Workspaces', () => {
|
||||
cy.findByText('Accept a secure connection from another server');
|
||||
cy.findByText('Enter the encrypted invitation code shared to you by the admin of the server you are connecting with.');
|
||||
|
||||
// * Verify accept disabled
|
||||
cy.uiGetButton('Accept').should('be.disabled');
|
||||
|
||||
// # Enter org name
|
||||
cy.findByRole('textbox', {name: 'Organization name'}).type(orgDisplayName);
|
||||
|
||||
@@ -93,6 +96,13 @@ describe('Connected Workspaces', () => {
|
||||
// # Enter bad password
|
||||
cy.findByRole('textbox', {name: 'Password'}).type('123abc');
|
||||
|
||||
// * Verify accept still disabled
|
||||
cy.uiGetButton('Accept').should('be.disabled');
|
||||
|
||||
// # Select team
|
||||
cy.findByTestId('destination-team-input').click().
|
||||
findByRole('textbox').type(`${testTeam2.display_name}{enter}`);
|
||||
|
||||
// # Try accept
|
||||
cy.uiGetButton('Accept').click();
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user