Commit 9c3cb4d3 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'qa-no-monkey-patching-2_plan' into 'master'

Update 2_plan tests to use outer describe

See merge request gitlab-org/gitlab!35636
parents c20df30d a3b0a215
......@@ -3,7 +3,7 @@
require 'airborne'
module QA
context 'Plan' do
RSpec.describe 'Plan' do
include Support::Api
describe 'Issue' do
......
# frozen_string_literal: true
module QA
context 'Plan', :orchestrated, :smtp do
RSpec.describe 'Plan', :orchestrated, :smtp do
describe 'Email Notification' do
include Support::Api
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'check xss occurence in @mentions in issues', :requires_admin do
it 'mentions a user in a comment' do
QA::Runtime::Env.personal_access_token = QA::Runtime::Env.admin_personal_access_token
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'collapse comments in issue discussions' do
let(:my_first_reply) { 'My first reply' }
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Issue comments' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :smoke do
RSpec.describe 'Plan', :smoke do
describe 'Issue creation' do
let(:closed_issue) { Resource::Issue.fabricate_via_api! }
......
......@@ -3,7 +3,7 @@
require 'securerandom'
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Issues list' do
let(:project) do
Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'filter issue comments activities' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'issue suggestions' do
let(:issue_title) { 'Issue Lists are awesome' }
......
# frozen_string_literal: true
module QA
context 'Plan' do
RSpec.describe 'Plan' do
describe 'Jira issue import', :jira, :orchestrated, :requires_admin do
let(:jira_project_key) { "JITD" }
let(:jira_issue_title) { "[#{jira_project_key}-1] Jira to GitLab Test Issue" }
......
# frozen_string_literal: true
module QA
context 'Plan', :smoke, :reliable do
RSpec.describe 'Plan', :smoke, :reliable do
describe 'mention' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Issue board focus mode' do
let(:project) do
QA::Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true
module QA
context 'Plan' do
RSpec.describe 'Plan' do
describe 'Milestones' do
include Support::Dates
......
......@@ -3,7 +3,7 @@
require 'airborne'
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Epics milestone dates API' do
before(:context) do
@api_client = Runtime::API::Client.new(:gitlab)
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Burndown chart' do
include ::QA::Support::Dates
......
......@@ -3,7 +3,7 @@
require 'securerandom'
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Custom email', :requires_admin do
before do
Flow::Login.sign_in_as_admin
......
# frozen_string_literal: true
module QA
context 'Plan' do
RSpec.describe 'Plan' do
describe 'Epics Management' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'promote issue to epic' do
it 'promotes issue to epic' do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Epics roadmap' do
include Support::Dates
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Configurable issue board' do
let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Configure issue board by label' do
let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
......@@ -3,7 +3,7 @@
require 'securerandom'
module QA
context 'Plan' do
RSpec.describe 'Plan' do
describe 'Group issue boards' do
before do
Flow::Login.sign_in
......
......@@ -3,7 +3,7 @@
require 'securerandom'
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Group issue boards' do
let(:board_1) { "Board-#{SecureRandom.hex(4)}" }
let(:board_2) { "Board-#{SecureRandom.hex(4)}" }
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Project issue boards' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Read-only board configuration' do
let(:qa_user) do
Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1)
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Sum of issues weights on issue board' do
let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
shared_examples 'issues analytics page' do
let(:issue) do
Resource::Issue.fabricate_via_api!
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Issues weight visualization' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Multiple assignees per issue' do
before do
Flow::Login.sign_in
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Multiple assignees per issue' do
let(:project) do
Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Related issues' do
let(:project) do
Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true
module QA
context 'Plan', :reliable do
RSpec.describe 'Plan', :reliable do
describe 'Editing scoped labels on issues' do
let(:initial_label) { 'animal::fox' }
let(:new_label_same_scope) { 'animal::dolphin' }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment