Fix playbooks e2e (#22816)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4cc2fed079
Коммит
d6cf013775
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('admin console', () => {
|
describe('admin console', {testIsolation: true}, () => {
|
||||||
let testUser;
|
let testUser;
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('api > runs', () => {
|
describe('api > runs', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import {onlyOn} from '@cypress/skip-test';
|
import {onlyOn} from '@cypress/skip-test';
|
||||||
|
|
||||||
describe('channels > App Bar', () => {
|
describe('channels > App Bar', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > broadcast', () => {
|
describe('channels > broadcast', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testAdmin;
|
let testAdmin;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import {onlyOn} from '@cypress/skip-test';
|
import {onlyOn} from '@cypress/skip-test';
|
||||||
|
|
||||||
describe('channels > channel header', () => {
|
describe('channels > channel header', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('channels > general actions', () => {
|
describe('channels > general actions', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > actions', () => {
|
describe('channels > actions', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > post type components', () => {
|
describe('channels > post type components', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testChannel;
|
let testChannel;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > retrospective', () => {
|
describe('runs > retrospective', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybookWithMetrics;
|
let testPlaybookWithMetrics;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > header', () => {
|
describe('channels > rhs > header', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import {HALF_SEC, ONE_SEC} from '../../../../fixtures/timeouts';
|
import {HALF_SEC, ONE_SEC} from '../../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('channels > rhs > checklist', () => {
|
describe('channels > rhs > checklist', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
@@ -164,7 +164,7 @@ describe('channels > rhs > checklist', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// * Verify the expected error message.
|
// * Verify the expected error message.
|
||||||
cy.verifyEphemeralMessage('Failed to execute slash command /invalid');
|
cy.verifyEphemeralMessage('Failed to find slash command /invalid');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('successfully runs a valid slash command', () => {
|
it('successfully runs a valid slash command', () => {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > header', () => {
|
describe('channels > rhs > header', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > home', () => {
|
describe('channels > rhs > home', {testIsolation: true}, () => {
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > runlist', () => {
|
describe('channels > rhs > runlist', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels rhs > start a run', () => {
|
describe('channels rhs > start a run', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testChannel;
|
let testChannel;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import * as TIMEOUTS from '../../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('channels > rhs > status update', () => {
|
describe('channels > rhs > status update', {testIsolation: true}, () => {
|
||||||
const defaultReminderMessage = '# Default reminder message';
|
const defaultReminderMessage = '# Default reminder message';
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testChannel;
|
let testChannel;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > template', () => {
|
describe('channels > rhs > template', {testIsolation: true}, () => {
|
||||||
let team1;
|
let team1;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > rhs > title', () => {
|
describe('channels > rhs > title', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('channels > rhs', () => {
|
describe('channels > rhs', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > run dialog', () => {
|
describe('channels > run dialog', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > run', () => {
|
describe('channels > run', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPrivateChannel;
|
let testPrivateChannel;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import {switchToChannel} from '../../../channels/mark_as_unread/helpers';
|
import {switchToChannel} from '../../../channels/mark_as_unread/helpers';
|
||||||
|
|
||||||
describe('channels > slash command > owner', () => {
|
describe('channels > slash command > owner', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > slash command > info', () => {
|
describe('channels > slash command > info', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > slash command > owner', () => {
|
describe('channels > slash command > owner', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > slash command > test', () => {
|
describe('channels > slash command > test', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('channels > slash command > todo', () => {
|
describe('channels > slash command > todo', {testIsolation: true}, () => {
|
||||||
let team1;
|
let team1;
|
||||||
let team2;
|
let team2;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('channels > update request post', () => {
|
describe('channels > update request post', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testParticipant;
|
let testParticipant;
|
||||||
let testChannelMemberOnly;
|
let testChannelMemberOnly;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('digest messages', () => {
|
describe('digest messages', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
import {HALF_SEC} from '../../fixtures/timeouts';
|
import {HALF_SEC} from '../../fixtures/timeouts';
|
||||||
import {stubClipboard} from '../../utils';
|
import {stubClipboard} from '../../utils';
|
||||||
|
|
||||||
describe('lhs', () => {
|
describe('lhs', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPublicPlaybook;
|
let testPublicPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('navigation', () => {
|
describe('navigation', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > edit', () => {
|
describe('playbooks > edit', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > creation button', () => {
|
describe('playbooks > creation button', {testIsolation: true}, () => {
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
//
|
//
|
||||||
import * as TIMEOUTS from '../../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('playbooks > edit > task actions', () => {
|
describe('playbooks > edit > task actions', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
/* eslint-disable no-only-tests/no-only-tests */
|
/* eslint-disable no-only-tests/no-only-tests */
|
||||||
|
|
||||||
describe('playbooks > edit_metrics', () => {
|
describe('playbooks > edit_metrics', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('playbooks > edit', () => {
|
describe('playbooks > edit', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > feedback', () => {
|
describe('playbooks > feedback', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > list', () => {
|
describe('playbooks > list', {testIsolation: true}, () => {
|
||||||
const playbookTitle = 'The Playbook Name';
|
const playbookTitle = 'The Playbook Name';
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import {stubClipboard} from '../../../utils';
|
import {stubClipboard} from '../../../utils';
|
||||||
|
|
||||||
describe('playbooks > overview', () => {
|
describe('playbooks > overview', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testOtherTeam;
|
let testOtherTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > list pagination', () => {
|
describe('playbooks > list pagination', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
const ExtraPlaybooks = 20;
|
const ExtraPlaybooks = 20;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
const RUN_NAME_MAX_LENGTH = 64;
|
const RUN_NAME_MAX_LENGTH = 64;
|
||||||
|
|
||||||
describe('playbooks > start a run', () => {
|
describe('playbooks > start a run', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbooks > edit status update', () => {
|
describe('playbooks > edit status update', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > list', () => {
|
describe('runs > list', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testAnotherUser;
|
let testAnotherUser;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import {getRandomId} from '../../../utils';
|
import {getRandomId} from '../../../utils';
|
||||||
|
|
||||||
describe('runs > permissions', () => {
|
describe('runs > permissions', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testOtherTeam;
|
let testOtherTeam;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page', () => {
|
describe('runs > run details page', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testPublicPlaybook;
|
let testPublicPlaybook;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// Note that this test checks the basic behavior in Run details page as participant / viewer
|
// Note that this test checks the basic behavior in Run details page as participant / viewer
|
||||||
// It relies on the Channel RHS Checklist test to cover the full behavior of the checklists
|
// It relies on the Channel RHS Checklist test to cover the full behavior of the checklists
|
||||||
|
|
||||||
describe('runs > run details page > checklist', () => {
|
describe('runs > run details page > checklist', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > finish', () => {
|
describe('runs > run details page > finish', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import {stubClipboard} from '../../../utils';
|
import {stubClipboard} from '../../../utils';
|
||||||
|
|
||||||
describe('runs > run details page > header', () => {
|
describe('runs > run details page > header', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > restart run', () => {
|
describe('runs > run details page > restart run', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ const verifyMetricInput = (index, title, target, description, placeholder) => {
|
|||||||
|
|
||||||
const getRetro = () => cy.findByTestId('run-retrospective-section');
|
const getRetro = () => cy.findByTestId('run-retrospective-section');
|
||||||
|
|
||||||
describe('runs > run details page', () => {
|
describe('runs > run details page', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
/* eslint-disable no-only-tests/no-only-tests */
|
/* eslint-disable no-only-tests/no-only-tests */
|
||||||
|
|
||||||
describe('runs > run details page > status update', () => {
|
describe('runs > run details page > status update', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > summary', () => {
|
describe('runs > run details page > summary', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testRun;
|
let testRun;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||||
|
|
||||||
describe('runs > task actions', () => {
|
describe('runs > task actions', {testIsolation: true}, () => {
|
||||||
let testPlaybook;
|
let testPlaybook;
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > rhs > participants', () => {
|
describe('runs > run details page > rhs > participants', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testUser2;
|
let testUser2;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > run info', () => {
|
describe('runs > run details page > run info', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > RHS', () => {
|
describe('runs > run details page > RHS', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('runs > run details page > status update', () => {
|
describe('runs > run details page > status update', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testViewerUser;
|
let testViewerUser;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('Task Inbox >', () => {
|
describe('Task Inbox >', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// Stage: @prod
|
// Stage: @prod
|
||||||
// Group: @playbooks
|
// Group: @playbooks
|
||||||
|
|
||||||
describe('playbook tour points', () => {
|
describe('playbook tour points', {testIsolation: true}, () => {
|
||||||
let testTeam;
|
let testTeam;
|
||||||
let testUser;
|
let testUser;
|
||||||
let testSysadmin;
|
let testSysadmin;
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ Cypress.Commands.add('updateStatus', (message, reminderQuery) => {
|
|||||||
|
|
||||||
if (reminderQuery) {
|
if (reminderQuery) {
|
||||||
cy.get('#reminder_timer_datetime').within(() => {
|
cy.get('#reminder_timer_datetime').within(() => {
|
||||||
cy.get('input').type(reminderQuery, {delay: TIMEOUTS.TWO_HUNDRED_MILLIS, force: true}).type('{enter}', {force: true});
|
cy.get('input').type(reminderQuery, {delay: TIMEOUTS.TWO_HUNDRED_MILLIS, force: true}).wait(TIMEOUTS.ONE_SEC).type('{enter}');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user