[skip ci] Stabilize users_reactivation_spec.js E2E testcase (#29664)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5e7e441623
Коммит
0345cba209
@@ -16,17 +16,20 @@ import * as MESSAGES from '../../../../fixtures/messages';
|
|||||||
import {getRandomId} from '../../../../utils';
|
import {getRandomId} from '../../../../utils';
|
||||||
|
|
||||||
describe('System Console > User Management > Reactivation', () => {
|
describe('System Console > User Management > Reactivation', () => {
|
||||||
|
var teamName;
|
||||||
before(() => {
|
before(() => {
|
||||||
cy.shouldNotRunOnCloudEdition();
|
cy.shouldNotRunOnCloudEdition();
|
||||||
|
|
||||||
// # Do initial setup
|
// # Do initial setup
|
||||||
cy.apiInitSetup().then(({team}) => {
|
cy.apiInitSetup().then(({team}) => {
|
||||||
// # Visit town-square
|
teamName = team.name;
|
||||||
cy.visit(`/${team.name}`);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('MM-T952 Reactivating a user results in them showing up in the normal spot in the list, without the `Deactivated` label.', () => {
|
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
|
// # Create two users with same random prefix
|
||||||
const id = getRandomId();
|
const id = getRandomId();
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user