debian-mirror-gitlab/spec/features/incidents/user_uses_quick_actions_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
665 B
Ruby
Raw Normal View History

2022-10-11 01:57:18 +05:30
# frozen_string_literal: true
require 'spec_helper'
2023-03-04 22:38:38 +05:30
RSpec.describe 'Incidents > User uses quick actions', :js, feature_category: :incident_management do
2022-10-11 01:57:18 +05:30
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