[skip ci] Stabilize users_reactivation_spec.js E2E testcase (#29664)

Этот коммит содержится в:
Mario Vitale
2024-12-20 19:37:03 +01:00
коммит произвёл GitHub
родитель 5e7e441623
Коммит 0345cba209

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

@@ -16,17 +16,20 @@ import * as MESSAGES from '../../../../fixtures/messages';
import {getRandomId} from '../../../../utils';
describe('System Console > User Management > Reactivation', () => {
var teamName;
before(() => {
cy.shouldNotRunOnCloudEdition();
// # Do initial setup
cy.apiInitSetup().then(({team}) => {
// # Visit town-square
cy.visit(`/${team.name}`);
teamName = team.name;
});
});
it('MM-T952 Reactivating a user results in them showing up in the normal spot in the list, without the `Deactivated` label.', () => {
// # Visit town-square
cy.visit(`/${teamName}`);
// # Create two users with same random prefix
const id = getRandomId();