Add reliable tag on plan qa tests

This is the first iteration to address the first two checkboxes of
https://gitlab.com/gitlab-org/quality/team-tasks/issues/337

Another MR will be created for the new pipeline job that will run
the reliable tests.
parent 1e33caea
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan', :orchestrated, :smtp do context 'Plan', :orchestrated, :smtp, :reliable do
describe 'Email Notification' do describe 'Email Notification' do
let(:user) do let(:user) do
Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1)
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'check xss occurence in @mentions in issues', :requires_admin do describe 'check xss occurence in @mentions in issues', :requires_admin do
it 'user mentions a user in comment' do it 'user mentions a user in comment' do
QA::Runtime::Env.personal_access_token = QA::Runtime::Env.admin_personal_access_token QA::Runtime::Env.personal_access_token = QA::Runtime::Env.admin_personal_access_token
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Close issue' do describe 'Close issue' do
let(:issue) do let(:issue) do
Resource::Issue.fabricate_via_api! Resource::Issue.fabricate_via_api!
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'collapse comments in issue discussions' do describe 'collapse comments in issue discussions' do
let(:my_first_reply) { 'My first reply' } let(:my_first_reply) { 'My first reply' }
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Issue comments' do describe 'Issue comments' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan', :smoke do context 'Plan', :smoke, :reliable do
describe 'Issue creation' do describe 'Issue creation' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'filter issue comments activities' do describe 'filter issue comments activities' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'issue suggestions' do describe 'issue suggestions' do
let(:issue_title) { 'Issue Lists are awesome' } let(:issue_title) { 'Issue Lists are awesome' }
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan', :smoke do context 'Plan', :smoke, :reliable do
describe 'mention' do describe 'mention' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Epics milestone dates API' do describe 'Epics milestone dates API' do
before(:context) do before(:context) do
@api_client = Runtime::API::Client.new(:gitlab) @api_client = Runtime::API::Client.new(:gitlab)
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Burndown chart' do describe 'Burndown chart' do
include ::QA::Support::Dates include ::QA::Support::Dates
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'securerandom' require 'securerandom'
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Custom email', :requires_admin do describe 'Custom email', :requires_admin do
before do before do
Flow::Login.sign_in_as_admin Flow::Login.sign_in_as_admin
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Epics Management' do describe 'Epics Management' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'promote issue to epic' do describe 'promote issue to epic' do
it 'user promotes issue to an epic' do it 'user promotes issue to an epic' do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Epics roadmap' do describe 'Epics roadmap' do
include Support::Dates include Support::Dates
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Configurable issue board' do describe 'Configurable issue board' do
let(:label_board_list) do let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api! EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Configure issue board by label' do describe 'Configure issue board by label' do
let(:label_board_list) do let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api! EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'securerandom' require 'securerandom'
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Group issue boards' do describe 'Group issue boards' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Issue board focus mode' do describe 'Issue board focus mode' do
let(:project) do let(:project) do
QA::Resource::Project.fabricate_via_api! do |project| QA::Resource::Project.fabricate_via_api! do |project|
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'securerandom' require 'securerandom'
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Group issue boards' do describe 'Group issue boards' do
let(:board_1) { "Board-#{SecureRandom.hex(4)}" } let(:board_1) { "Board-#{SecureRandom.hex(4)}" }
let(:board_2) { "Board-#{SecureRandom.hex(4)}" } let(:board_2) { "Board-#{SecureRandom.hex(4)}" }
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Project issue boards' do describe 'Project issue boards' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Read-only board configuration' do describe 'Read-only board configuration' do
let(:qa_user) do let(:qa_user) do
Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1)
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Sum of issues weights on issue board' do describe 'Sum of issues weights on issue board' do
let(:label_board_list) do let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api! EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Issues analytics' do describe 'Issues analytics' do
let(:issue) do let(:issue) do
Resource::Issue.fabricate_via_api! Resource::Issue.fabricate_via_api!
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'securerandom' require 'securerandom'
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Issues list' do describe 'Issues list' do
let(:project) do let(:project) do
Resource::Project.fabricate_via_api! do |project| Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Issues weight visualization' do describe 'Issues weight visualization' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Multiple assignees per issue' do describe 'Multiple assignees per issue' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Multiple assignees per issue' do describe 'Multiple assignees per issue' do
let(:project) do let(:project) do
Resource::Project.fabricate_via_api! do |resource| Resource::Project.fabricate_via_api! do |resource|
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Related issues' do describe 'Related issues' do
let(:project) do let(:project) do
Resource::Project.fabricate_via_api! do |project| Resource::Project.fabricate_via_api! do |project|
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
context 'Plan' do context 'Plan', :reliable do
describe 'Editing scoped labels on issues' do describe 'Editing scoped labels on issues' do
let(:initial_label) { 'animal::fox' } let(:initial_label) { 'animal::fox' }
let(:new_label_same_scope) { 'animal::dolphin' } 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