forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MM-37788] - Remove support email step in admin onboarding (mattermos…
…t#8556) * [MM-37788] - Remove support email step in admin onboarding * fix translations
- Loading branch information
Showing
12 changed files
with
9 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
components/next_steps_view/steps/enter_support_email/enter_support_email.scss
This file was deleted.
Oops, something went wrong.
127 changes: 0 additions & 127 deletions
127
components/next_steps_view/steps/enter_support_email/enter_support_email.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,6 @@ describe('Cloud Onboarding - Sysadmin', () => { | |
'notification_setup', | ||
'team_setup', | ||
'invite_members', | ||
'enter_support_email', | ||
'hide', | ||
'skip', | ||
]; | ||
|
@@ -63,7 +62,7 @@ describe('Cloud Onboarding - Sysadmin', () => { | |
cy.findByTestId('CompleteProfileStep__saveProfileButton').should('be.visible').and('not.be.disabled').click(); | ||
|
||
// * Step counter should increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '1 / 5 steps complete'); | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '1 / 4 steps complete'); | ||
|
||
// * Check to make sure card is expanded | ||
cy.get('.Card__body.expanded .TeamProfileStep').should('be.visible'); | ||
|
@@ -78,15 +77,15 @@ describe('Cloud Onboarding - Sysadmin', () => { | |
cy.findByTestId('TeamProfileStep__saveTeamButton').should('be.visible').and('not.be.disabled').click(); | ||
|
||
// * Step counter should increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '2 / 5 steps complete'); | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '2 / 4 steps complete'); | ||
|
||
// * Check to make sure card is expanded | ||
cy.findByText('We recommend enabling desktop notifications so you don’t miss any important communications.').should('be.visible'); | ||
|
||
cy.findByRole('button', {name: 'Set up notifications'}).should('be.visible').click(); | ||
|
||
// * Step counter should increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '3 / 5 steps complete'); | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '3 / 4 steps complete'); | ||
|
||
// * Check to make sure card is expanded | ||
cy.get('.Card__body.expanded .InviteMembersStep').should('be.visible'); | ||
|
@@ -95,19 +94,7 @@ describe('Cloud Onboarding - Sysadmin', () => { | |
cy.findByTestId('InviteMembersStep__finishButton').should('be.visible').and('not.be.disabled').click(); | ||
|
||
// * Step counter should increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '4 / 5 steps complete'); | ||
|
||
// * Check to make sure card is expanded | ||
cy.get('.Card__body.expanded .EnterSupportEmailStep').should('be.visible'); | ||
|
||
// # Enter email addresses | ||
cy.get('#input_enter_support_email').should('be.visible').type('[email protected]'); | ||
|
||
// # Click Finish button | ||
cy.findByTestId('EnterSupportEmailStep__finishButton').should('be.visible').and('not.be.disabled').click(); | ||
|
||
// * Step counter should increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '5 / 5 steps complete'); | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '4 / 4 steps complete'); | ||
|
||
// * Should show Tips and Next Steps | ||
cy.findByText('Tips & Next Steps').should('be.visible'); | ||
|
@@ -137,7 +124,7 @@ describe('Cloud Onboarding - Sysadmin', () => { | |
cy.get('.Card__body.expanded .TeamProfileStep').should('exist').should('be.visible'); | ||
|
||
// * Step counter should not increment | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '0 / 5 steps complete'); | ||
cy.get('.SidebarNextSteps .SidebarNextSteps__middle').should('contain', '0 / 4 steps complete'); | ||
}); | ||
|
||
it('MM-T3328 Sysadmin - Skip Getting Started', () => { | ||
|
Oops, something went wrong.