Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Cypress/E2E: Fix bot accounts disabled section verification #6894

Merged
merged 5 commits into from
Oct 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved cy.apiAdminLogin to top of beforeEach
  • Loading branch information
Joseph Baylon committed Oct 23, 2020
commit f80dcb94d63573efed3afeb64cef0885b39eb478
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('Managing bot accounts', () => {
let botName;

beforeEach(() => {
cy.apiAdminLogin();
botName = 'bot-' + Date.now();

// # Set ServiceSettings to expected values
Expand All @@ -40,7 +41,6 @@ describe('Managing bot accounts', () => {
cy.apiInitSetup().then(({team}) => {
newTeam = team;
});
cy.apiAdminLogin();
});

it('MM-T1851 No option to create BOT accounts when Enable Bot Account Creation is set to False.', () => {
Expand Down