diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-10 00:10:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-10 00:10:12 +0300 |
commit | dc22d7faa23a7988be2b70da2bfb956de4df00f0 (patch) | |
tree | cf79ae05494af210a53390fd8bd7ade54d54bad8 /spec/features/incidents | |
parent | 7c0e5472c80f1826b36916a95e6f9d84a7b68fe3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/incidents')
-rw-r--r-- | spec/features/incidents/user_uses_quick_actions_spec.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/features/incidents/user_uses_quick_actions_spec.rb b/spec/features/incidents/user_uses_quick_actions_spec.rb new file mode 100644 index 00000000000..fce9eadd42f --- /dev/null +++ b/spec/features/incidents/user_uses_quick_actions_spec.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'Incidents > User uses quick actions', :js do + include Spec::Support::Helpers::Features::NotesHelpers + + describe 'incident-only commands' do + let_it_be(:user) { create(:user) } + let_it_be(:project) { create(:project) } + let_it_be(:issue, reload: true) { create(:incident, project: project) } + + before do + project.add_developer(user) + sign_in(user) + visit project_issue_path(project, issue) + wait_for_all_requests + end + + after do + wait_for_requests + end + + it_behaves_like 'timeline quick action' + end +end |