From d6cf013775deede9f0b96d99e61ad7da98465b82 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Thu, 6 Apr 2023 15:56:22 -0300 Subject: [PATCH] Fix playbooks e2e (#22816) --- .../integration/playbooks/adminconsole/analytics_spec.js | 2 +- .../cypress/tests/integration/playbooks/api/runs_spec.js | 2 +- .../tests/integration/playbooks/channels/app_bar_spec.js | 2 +- .../tests/integration/playbooks/channels/broadcast_spec.js | 2 +- .../integration/playbooks/channels/channel_header_spec.js | 2 +- .../integration/playbooks/channels/general_actions_spec.js | 2 +- .../integration/playbooks/channels/playbook_run_actions.js | 2 +- .../playbooks/channels/post_type_components_spec.js | 2 +- .../integration/playbooks/channels/retrospective_spec.js | 2 +- .../tests/integration/playbooks/channels/rhs/about_spec.js | 2 +- .../integration/playbooks/channels/rhs/checklist_spec.js | 4 ++-- .../tests/integration/playbooks/channels/rhs/header_spec.js | 2 +- .../tests/integration/playbooks/channels/rhs/home_spec.js | 2 +- .../tests/integration/playbooks/channels/rhs/list_spec.js | 2 +- .../integration/playbooks/channels/rhs/start_run_rhs_spec.js | 2 +- .../integration/playbooks/channels/rhs/status_update_spec.js | 2 +- .../tests/integration/playbooks/channels/rhs/template_spec.js | 2 +- .../tests/integration/playbooks/channels/rhs/title_spec.js | 2 +- .../cypress/tests/integration/playbooks/channels/rhs_spec.js | 2 +- .../tests/integration/playbooks/channels/run_dialog_spec.js | 2 +- .../cypress/tests/integration/playbooks/channels/run_spec.js | 2 +- .../playbooks/channels/slash_command/commands_spec.js | 2 +- .../integration/playbooks/channels/slash_command/info_spec.js | 2 +- .../playbooks/channels/slash_command/owner_spec.js | 2 +- .../integration/playbooks/channels/slash_command/test_spec.js | 2 +- .../integration/playbooks/channels/slash_command/todo_spec.js | 2 +- .../playbooks/channels/update_request_post_spec.js | 2 +- e2e-tests/cypress/tests/integration/playbooks/digest_spec.js | 2 +- e2e-tests/cypress/tests/integration/playbooks/lhs_spec.js | 2 +- .../cypress/tests/integration/playbooks/navigation_spec.js | 2 +- .../tests/integration/playbooks/playbooks/access_spec.js | 2 +- .../integration/playbooks/playbooks/creation_button_spec.js | 2 +- .../integration/playbooks/playbooks/edit/task_actions_spec.js | 2 +- .../integration/playbooks/playbooks/edit_metrics_spec.js | 2 +- .../tests/integration/playbooks/playbooks/edit_spec.js | 2 +- .../tests/integration/playbooks/playbooks/feedback_spec.js | 2 +- .../tests/integration/playbooks/playbooks/list_spec.js | 2 +- .../tests/integration/playbooks/playbooks/overview_spec.js | 2 +- .../tests/integration/playbooks/playbooks/pagination_spec.js | 2 +- .../tests/integration/playbooks/playbooks/start_run_spec.js | 2 +- .../integration/playbooks/playbooks/status_update_spec.js | 2 +- .../cypress/tests/integration/playbooks/runs/list_spec.js | 2 +- .../tests/integration/playbooks/runs/permissions_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_general_spec.js | 2 +- .../integration/playbooks/runs/rdp_main_checklist_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_main_finish_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_main_header_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_main_restore_spec.js | 2 +- .../integration/playbooks/runs/rdp_main_retrospective_spec.js | 2 +- .../integration/playbooks/runs/rdp_main_statusupdate_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_main_summary_spec.js | 2 +- .../integration/playbooks/runs/rdp_main_taskactions_spec.js | 2 +- .../integration/playbooks/runs/rdp_rhs_participants_spec.js | 2 +- .../tests/integration/playbooks/runs/rdp_rhs_runinfo_spec.js | 2 +- .../cypress/tests/integration/playbooks/runs/rdp_rhs_spec.js | 2 +- .../integration/playbooks/runs/rdp_rhs_statusupdates_spec.js | 2 +- .../tests/integration/playbooks/runs/taskinbox_spec.js | 2 +- .../cypress/tests/integration/playbooks/tours_spec_ignore_.js | 2 +- e2e-tests/cypress/tests/support/ui/playbooks.js | 2 +- 59 files changed, 60 insertions(+), 60 deletions(-) diff --git a/e2e-tests/cypress/tests/integration/playbooks/adminconsole/analytics_spec.js b/e2e-tests/cypress/tests/integration/playbooks/adminconsole/analytics_spec.js index 89aa5df18b..f1ac8709d3 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/adminconsole/analytics_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/adminconsole/analytics_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('admin console', () => { +describe('admin console', {testIsolation: true}, () => { let testUser; let testTeam; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/api/runs_spec.js b/e2e-tests/cypress/tests/integration/playbooks/api/runs_spec.js index 140eb4cf3c..5af3e20957 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/api/runs_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/api/runs_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('api > runs', () => { +describe('api > runs', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/app_bar_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/app_bar_spec.js index 4f49a0e1a6..3e201afde8 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/app_bar_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/app_bar_spec.js @@ -11,7 +11,7 @@ import {onlyOn} from '@cypress/skip-test'; -describe('channels > App Bar', () => { +describe('channels > App Bar', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/broadcast_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/broadcast_spec.js index a35a2e286e..bdb21248a0 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/broadcast_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/broadcast_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > broadcast', () => { +describe('channels > broadcast', {testIsolation: true}, () => { let testTeam; let testUser; let testAdmin; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/channel_header_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/channel_header_spec.js index 6b3d965eae..546447ed0b 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/channel_header_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/channel_header_spec.js @@ -11,7 +11,7 @@ import {onlyOn} from '@cypress/skip-test'; -describe('channels > channel header', () => { +describe('channels > channel header', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/general_actions_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/general_actions_spec.js index 531bc1ce2e..b76b769966 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/general_actions_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/general_actions_spec.js @@ -10,7 +10,7 @@ // Group: @playbooks import * as TIMEOUTS from '../../../fixtures/timeouts'; -describe('channels > general actions', () => { +describe('channels > general actions', {testIsolation: true}, () => { let testTeam; let testSysadmin; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/playbook_run_actions.js b/e2e-tests/cypress/tests/integration/playbooks/channels/playbook_run_actions.js index 5676f6381f..171659ca05 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/playbook_run_actions.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/playbook_run_actions.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > actions', () => { +describe('channels > actions', {testIsolation: true}, () => { let testTeam; let testSysadmin; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/post_type_components_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/post_type_components_spec.js index 7a8873ffc5..52648693ce 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/post_type_components_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/post_type_components_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > post type components', () => { +describe('channels > post type components', {testIsolation: true}, () => { let testTeam; let testUser; let testChannel; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/retrospective_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/retrospective_spec.js index 0defebd343..f8541a9061 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/retrospective_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/retrospective_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > retrospective', () => { +describe('runs > retrospective', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybookWithMetrics; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js index 45cf1137f4..64bf07efd7 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > header', () => { +describe('channels > rhs > header', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/checklist_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/checklist_spec.js index 77efd83577..555f642c73 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/checklist_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/checklist_spec.js @@ -11,7 +11,7 @@ import {HALF_SEC, ONE_SEC} from '../../../../fixtures/timeouts'; -describe('channels > rhs > checklist', () => { +describe('channels > rhs > checklist', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; @@ -164,7 +164,7 @@ describe('channels > rhs > checklist', () => { }); // * 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', () => { diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/header_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/header_spec.js index 00d2b66a19..5ed1af22d2 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/header_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/header_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > header', () => { +describe('channels > rhs > header', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/home_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/home_spec.js index 857a2907b4..3c90348c32 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/home_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/home_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > home', () => { +describe('channels > rhs > home', {testIsolation: true}, () => { let testSysadmin; let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/list_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/list_spec.js index cc2b6e82b6..138f447f19 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/list_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/list_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > runlist', () => { +describe('channels > rhs > runlist', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/start_run_rhs_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/start_run_rhs_spec.js index 464057d9a4..35e8dab785 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/start_run_rhs_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/start_run_rhs_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels rhs > start a run', () => { +describe('channels rhs > start a run', {testIsolation: true}, () => { let testTeam; let testUser; let testChannel; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/status_update_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/status_update_spec.js index 1a9f4c61d7..59f2a7811d 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/status_update_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/status_update_spec.js @@ -13,7 +13,7 @@ import * as TIMEOUTS from '../../../../fixtures/timeouts'; -describe('channels > rhs > status update', () => { +describe('channels > rhs > status update', {testIsolation: true}, () => { const defaultReminderMessage = '# Default reminder message'; let testTeam; let testChannel; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/template_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/template_spec.js index 3512a368ab..f188f026e1 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/template_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/template_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > template', () => { +describe('channels > rhs > template', {testIsolation: true}, () => { let team1; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/title_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/title_spec.js index c78c1655a8..8300d90fb9 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/title_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/title_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > rhs > title', () => { +describe('channels > rhs > title', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs_spec.js index d82d30453c..2496db6e38 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs_spec.js @@ -11,7 +11,7 @@ import * as TIMEOUTS from '../../../fixtures/timeouts'; -describe('channels > rhs', () => { +describe('channels > rhs', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/run_dialog_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/run_dialog_spec.js index bead72f4cc..c13d524efe 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/run_dialog_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/run_dialog_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > run dialog', () => { +describe('channels > run dialog', {testIsolation: true}, () => { let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/run_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/run_spec.js index 051b28be0a..0bda5ae0c2 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/run_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/run_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > run', () => { +describe('channels > run', {testIsolation: true}, () => { let testTeam; let testUser; let testPrivateChannel; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/commands_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/commands_spec.js index 976a5e99d9..65ded0b0c7 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/commands_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/commands_spec.js @@ -11,7 +11,7 @@ import {switchToChannel} from '../../../channels/mark_as_unread/helpers'; -describe('channels > slash command > owner', () => { +describe('channels > slash command > owner', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/info_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/info_spec.js index 27812550f3..fb1266d25c 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/info_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/info_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > slash command > info', () => { +describe('channels > slash command > info', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/owner_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/owner_spec.js index e3529b0abf..212bcf237e 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/owner_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/owner_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > slash command > owner', () => { +describe('channels > slash command > owner', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/test_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/test_spec.js index 2f9bf98ea2..f5b39a2e4a 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/test_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/test_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > slash command > test', () => { +describe('channels > slash command > test', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/todo_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/todo_spec.js index 9e0c5dd556..5b612ce8db 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/todo_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/slash_command/todo_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('channels > slash command > todo', () => { +describe('channels > slash command > todo', {testIsolation: true}, () => { let team1; let team2; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/update_request_post_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/update_request_post_spec.js index 2471654824..e9ec30aa14 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/update_request_post_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/update_request_post_spec.js @@ -11,7 +11,7 @@ import * as TIMEOUTS from '../../../fixtures/timeouts'; -describe('channels > update request post', () => { +describe('channels > update request post', {testIsolation: true}, () => { let testTeam; let testParticipant; let testChannelMemberOnly; diff --git a/e2e-tests/cypress/tests/integration/playbooks/digest_spec.js b/e2e-tests/cypress/tests/integration/playbooks/digest_spec.js index cfe3de75c9..c12caa8992 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/digest_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/digest_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('digest messages', () => { +describe('digest messages', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/lhs_spec.js b/e2e-tests/cypress/tests/integration/playbooks/lhs_spec.js index 8438c493e6..63fa4d0bc4 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/lhs_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/lhs_spec.js @@ -14,7 +14,7 @@ import {HALF_SEC} from '../../fixtures/timeouts'; import {stubClipboard} from '../../utils'; -describe('lhs', () => { +describe('lhs', {testIsolation: true}, () => { let testTeam; let testUser; let testPublicPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/navigation_spec.js b/e2e-tests/cypress/tests/integration/playbooks/navigation_spec.js index 355b74aff4..056a71e216 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/navigation_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/navigation_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('navigation', () => { +describe('navigation', {testIsolation: true}, () => { let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/access_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/access_spec.js index 839502e01d..958c0118fc 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/access_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/access_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > edit', () => { +describe('playbooks > edit', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/creation_button_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/creation_button_spec.js index 3e1fffe459..9ba500c5b3 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/creation_button_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/creation_button_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > creation button', () => { +describe('playbooks > creation button', {testIsolation: true}, () => { let testSysadmin; let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit/task_actions_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit/task_actions_spec.js index c884d4ae73..4aff99c32a 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit/task_actions_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit/task_actions_spec.js @@ -11,7 +11,7 @@ // import * as TIMEOUTS from '../../../../fixtures/timeouts'; -describe('playbooks > edit > task actions', () => { +describe('playbooks > edit > task actions', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_metrics_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_metrics_spec.js index d573e5b898..8f0c1feacd 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_metrics_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_metrics_spec.js @@ -11,7 +11,7 @@ /* eslint-disable no-only-tests/no-only-tests */ -describe('playbooks > edit_metrics', () => { +describe('playbooks > edit_metrics', {testIsolation: true}, () => { let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_spec.js index 34fcb93ded..bab7e9329c 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/edit_spec.js @@ -13,7 +13,7 @@ import * as TIMEOUTS from '../../../fixtures/timeouts'; -describe('playbooks > edit', () => { +describe('playbooks > edit', {testIsolation: true}, () => { let testTeam; let testSysadmin; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/feedback_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/feedback_spec.js index 6277532b17..1417ed80b1 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/feedback_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/feedback_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > feedback', () => { +describe('playbooks > feedback', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/list_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/list_spec.js index 494e095172..f488158945 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/list_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/list_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > list', () => { +describe('playbooks > list', {testIsolation: true}, () => { const playbookTitle = 'The Playbook Name'; let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/overview_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/overview_spec.js index 0bc08282db..60364f85d1 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/overview_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/overview_spec.js @@ -11,7 +11,7 @@ import {stubClipboard} from '../../../utils'; -describe('playbooks > overview', () => { +describe('playbooks > overview', {testIsolation: true}, () => { let testTeam; let testOtherTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/pagination_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/pagination_spec.js index b60731ad22..4a2d06232e 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/pagination_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/pagination_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > list pagination', () => { +describe('playbooks > list pagination', {testIsolation: true}, () => { let testTeam; let testUser; const ExtraPlaybooks = 20; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/start_run_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/start_run_spec.js index e29545e053..4cf5ac7e49 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/start_run_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/start_run_spec.js @@ -11,7 +11,7 @@ const RUN_NAME_MAX_LENGTH = 64; -describe('playbooks > start a run', () => { +describe('playbooks > start a run', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/playbooks/status_update_spec.js b/e2e-tests/cypress/tests/integration/playbooks/playbooks/status_update_spec.js index 73730ca693..9c6b44d530 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/playbooks/status_update_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/playbooks/status_update_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbooks > edit status update', () => { +describe('playbooks > edit status update', {testIsolation: true}, () => { let testTeam; let testUser; let testPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/list_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/list_spec.js index 9e20b61c15..1f3d518aa6 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/list_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/list_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > list', () => { +describe('runs > list', {testIsolation: true}, () => { let testTeam; let testUser; let testAnotherUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/permissions_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/permissions_spec.js index a6426d7bdc..4797d85fba 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/permissions_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/permissions_spec.js @@ -13,7 +13,7 @@ import {getRandomId} from '../../../utils'; -describe('runs > permissions', () => { +describe('runs > permissions', {testIsolation: true}, () => { let testTeam; let testUser; let testOtherTeam; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_general_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_general_spec.js index c30ee3df38..c5f60b0077 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_general_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_general_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page', () => { +describe('runs > run details page', {testIsolation: true}, () => { let testTeam; let testUser; let testPublicPlaybook; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_checklist_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_checklist_spec.js index 97fd822df5..7e7e6f6218 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_checklist_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_checklist_spec.js @@ -12,7 +12,7 @@ // 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 -describe('runs > run details page > checklist', () => { +describe('runs > run details page > checklist', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_finish_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_finish_spec.js index 096cc16e13..28aa61efcf 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_finish_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_finish_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > finish', () => { +describe('runs > run details page > finish', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_header_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_header_spec.js index 040b825e2b..4bb14ed9ad 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_header_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_header_spec.js @@ -13,7 +13,7 @@ import {stubClipboard} from '../../../utils'; -describe('runs > run details page > header', () => { +describe('runs > run details page > header', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_restore_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_restore_spec.js index 200c6b92cb..b3a7da35f3 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_restore_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_restore_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > restart run', () => { +describe('runs > run details page > restart run', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_retrospective_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_retrospective_spec.js index cdd711ad40..25841c28c5 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_retrospective_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_retrospective_spec.js @@ -62,7 +62,7 @@ const verifyMetricInput = (index, title, target, description, placeholder) => { const getRetro = () => cy.findByTestId('run-retrospective-section'); -describe('runs > run details page', () => { +describe('runs > run details page', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_statusupdate_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_statusupdate_spec.js index 04dc65d870..973c7fab7d 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_statusupdate_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_statusupdate_spec.js @@ -11,7 +11,7 @@ /* 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 testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_summary_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_summary_spec.js index 967a3baa0c..7b5ecc4384 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_summary_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_summary_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > summary', () => { +describe('runs > run details page > summary', {testIsolation: true}, () => { let testTeam; let testUser; let testRun; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_taskactions_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_taskactions_spec.js index 595af8f938..a289da7792 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_taskactions_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_main_taskactions_spec.js @@ -11,7 +11,7 @@ import * as TIMEOUTS from '../../../fixtures/timeouts'; -describe('runs > task actions', () => { +describe('runs > task actions', {testIsolation: true}, () => { let testPlaybook; let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_participants_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_participants_spec.js index 870e6fb195..3ac82f83d8 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_participants_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_participants_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > rhs > participants', () => { +describe('runs > run details page > rhs > participants', {testIsolation: true}, () => { let testTeam; let testUser; let testUser2; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_runinfo_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_runinfo_spec.js index 1dde1dbae4..df8174e0e7 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_runinfo_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_runinfo_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > run info', () => { +describe('runs > run details page > run info', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_spec.js index 707e283937..8a34f9f40e 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > RHS', () => { +describe('runs > run details page > RHS', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_statusupdates_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_statusupdates_spec.js index b235692783..c5832151d4 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_statusupdates_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/rdp_rhs_statusupdates_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('runs > run details page > status update', () => { +describe('runs > run details page > status update', {testIsolation: true}, () => { let testTeam; let testUser; let testViewerUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/runs/taskinbox_spec.js b/e2e-tests/cypress/tests/integration/playbooks/runs/taskinbox_spec.js index 6de1bf0d23..ccb1eae28e 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/runs/taskinbox_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/runs/taskinbox_spec.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('Task Inbox >', () => { +describe('Task Inbox >', {testIsolation: true}, () => { let testTeam; let testUser; diff --git a/e2e-tests/cypress/tests/integration/playbooks/tours_spec_ignore_.js b/e2e-tests/cypress/tests/integration/playbooks/tours_spec_ignore_.js index 5d268e11f6..10983a06dc 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/tours_spec_ignore_.js +++ b/e2e-tests/cypress/tests/integration/playbooks/tours_spec_ignore_.js @@ -9,7 +9,7 @@ // Stage: @prod // Group: @playbooks -describe('playbook tour points', () => { +describe('playbook tour points', {testIsolation: true}, () => { let testTeam; let testUser; let testSysadmin; diff --git a/e2e-tests/cypress/tests/support/ui/playbooks.js b/e2e-tests/cypress/tests/support/ui/playbooks.js index fb0828b465..23d987841d 100644 --- a/e2e-tests/cypress/tests/support/ui/playbooks.js +++ b/e2e-tests/cypress/tests/support/ui/playbooks.js @@ -176,7 +176,7 @@ Cypress.Commands.add('updateStatus', (message, reminderQuery) => { if (reminderQuery) { 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}'); }); }