Commit d728c2af authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'ml-add-status-issue-tags-geo-nondevops' into 'master'

Add status_issue rspec tags for e2e tests

See merge request gitlab-org/gitlab!40335
parents fd87014e e375655a
...@@ -20,7 +20,7 @@ module QA ...@@ -20,7 +20,7 @@ module QA
end end
end end
it 'shows results for the original request and AJAX requests' do it 'shows results for the original request and AJAX requests', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/478' do
# Issue pages always make AJAX requests # Issue pages always make AJAX requests
Resource::Issue.fabricate_via_browser_ui! do |issue| Resource::Issue.fabricate_via_browser_ui! do |issue|
issue.title = 'Performance bar test' issue.title = 'Performance bar test'
......
...@@ -39,7 +39,7 @@ module QA ...@@ -39,7 +39,7 @@ module QA
end end
describe 'editing a Geo node' do describe 'editing a Geo node' do
it 'PUT /geo_nodes/:id for secondary node' do it 'PUT /geo_nodes/:id for secondary node', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/683' do
endpoint = api_endpoint("/geo_nodes/#{@secondary_node[:id]}") endpoint = api_endpoint("/geo_nodes/#{@secondary_node[:id]}")
new_attributes = { enabled: false, files_max_capacity: 1000, repos_max_capacity: 2000 } new_attributes = { enabled: false, files_max_capacity: 1000, repos_max_capacity: 2000 }
......
...@@ -5,7 +5,7 @@ module QA ...@@ -5,7 +5,7 @@ module QA
describe 'GitLab Geo attachment replication' do describe 'GitLab Geo attachment replication' do
let(:file_to_attach) { File.absolute_path(File.join('spec', 'fixtures', 'banana_sample.gif')) } let(:file_to_attach) { File.absolute_path(File.join('spec', 'fixtures', 'banana_sample.gif')) }
it 'user uploads attachment to the primary node' do it 'user uploads attachment to the primary node', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/692' do
QA::Flow::Login.while_signed_in(address: :geo_primary) do QA::Flow::Login.while_signed_in(address: :geo_primary) do
@project = Resource::Project.fabricate_via_api! do |project| @project = Resource::Project.fabricate_via_api! do |project|
project.name = 'project-for-issues' project.name = 'project-for-issues'
......
...@@ -25,7 +25,7 @@ module QA ...@@ -25,7 +25,7 @@ module QA
deleted_project_id = project_to_delete.id deleted_project_id = project_to_delete.id
end end
it 'replicates deletion of a project to secondary node' do it 'replicates deletion of a project to secondary node', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/696' do
QA::Runtime::Logger.debug('Visiting the secondary geo node') QA::Runtime::Logger.debug('Visiting the secondary geo node')
QA::Flow::Login.while_signed_in(address: :geo_secondary) do QA::Flow::Login.while_signed_in(address: :geo_secondary) do
......
...@@ -6,7 +6,7 @@ module QA ...@@ -6,7 +6,7 @@ module QA
let(:file_name) { 'README.md' } let(:file_name) { 'README.md' }
context 'regular git commit' do context 'regular git commit' do
it 'is replicated to the secondary' do it 'is replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/690' do
file_content = 'This is a Geo project! Commit from primary.' file_content = 'This is a Geo project! Commit from primary.'
project = nil project = nil
...@@ -60,7 +60,7 @@ module QA ...@@ -60,7 +60,7 @@ module QA
end end
context 'git-lfs commit' do context 'git-lfs commit' do
it 'is replicated to the secondary' do it 'is replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/689' do
file_content = 'This is a Geo project!' file_content = 'This is a Geo project!'
lfs_file_display_message = 'The rendered file could not be displayed because it is stored in LFS.' lfs_file_display_message = 'The rendered file could not be displayed because it is stored in LFS.'
project = nil project = nil
......
...@@ -9,7 +9,7 @@ module QA ...@@ -9,7 +9,7 @@ module QA
let(:file_content_secondary) { 'This is a Geo project! Commit from secondary.' } let(:file_content_secondary) { 'This is a Geo project! Commit from secondary.' }
context 'regular git commit' do context 'regular git commit' do
it 'is redirected to the primary and ultimately replicated to the secondary' do it 'is redirected to the primary and ultimately replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/700' do
file_name = 'README.md' file_name = 'README.md'
project = nil project = nil
...@@ -89,7 +89,7 @@ module QA ...@@ -89,7 +89,7 @@ module QA
end end
context 'git-lfs commit' do context 'git-lfs commit' do
it 'is redirected to the primary and ultimately replicated to the secondary' do it 'is redirected to the primary and ultimately replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/699' do
file_name_primary = 'README.md' file_name_primary = 'README.md'
file_name_secondary = 'README_MORE.md' file_name_secondary = 'README_MORE.md'
project = nil project = nil
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module QA module QA
RSpec.describe 'Geo', :orchestrated, :geo do RSpec.describe 'Geo', :orchestrated, :geo do
describe 'GitLab Geo project rename replication' do describe 'GitLab Geo project rename replication' do
it 'user renames project' do it 'user renames project', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/695' do
original_project_name = 'geo-before-rename' original_project_name = 'geo-before-rename'
original_readme_content = "The original project name was #{original_project_name}" original_readme_content = "The original project name was #{original_project_name}"
readme_file_name = 'README.md' readme_file_name = 'README.md'
......
...@@ -6,7 +6,7 @@ module QA ...@@ -6,7 +6,7 @@ module QA
let(:file_name) { 'README.md' } let(:file_name) { 'README.md' }
context 'regular git commit' do context 'regular git commit' do
it "is replicated to the secondary" do it "is replicated to the secondary", status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/686' do
key_title = "Geo SSH #{Time.now.to_f}" key_title = "Geo SSH #{Time.now.to_f}"
file_content = 'This is a Geo project! Commit from primary.' file_content = 'This is a Geo project! Commit from primary.'
project = nil project = nil
...@@ -69,7 +69,7 @@ module QA ...@@ -69,7 +69,7 @@ module QA
end end
context 'git-lfs commit' do context 'git-lfs commit' do
it "is replicated to the secondary" do it "is replicated to the secondary", status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/687' do
key_title = "Geo SSH LFS #{Time.now.to_f}" key_title = "Geo SSH LFS #{Time.now.to_f}"
file_content = 'The rendered file could not be displayed because it is stored in LFS.' file_content = 'The rendered file could not be displayed because it is stored in LFS.'
project = nil project = nil
......
...@@ -7,7 +7,7 @@ module QA ...@@ -7,7 +7,7 @@ module QA
let(:file_content_secondary) { 'This is a Geo project! Commit from secondary.' } let(:file_content_secondary) { 'This is a Geo project! Commit from secondary.' }
context 'regular git commit' do context 'regular git commit' do
it 'is proxied to the primary and ultimately replicated to the secondary' do it 'is proxied to the primary and ultimately replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/698' do
file_name = 'README.md' file_name = 'README.md'
key_title = "Geo SSH to 2nd #{Time.now.to_f}" key_title = "Geo SSH to 2nd #{Time.now.to_f}"
project = nil project = nil
...@@ -90,7 +90,7 @@ module QA ...@@ -90,7 +90,7 @@ module QA
end end
context 'git-lfs commit' do context 'git-lfs commit' do
it 'is proxied to the primary and ultimately replicated to the secondary' do it 'is proxied to the primary and ultimately replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/697' do
key_title = "Geo SSH LFS to 2nd #{Time.now.to_f}" key_title = "Geo SSH LFS to 2nd #{Time.now.to_f}"
file_name_primary = 'README.md' file_name_primary = 'README.md'
file_name_secondary = 'README_MORE.md' file_name_secondary = 'README_MORE.md'
......
...@@ -4,7 +4,7 @@ module QA ...@@ -4,7 +4,7 @@ module QA
RSpec.describe 'Geo', :orchestrated, :geo do RSpec.describe 'Geo', :orchestrated, :geo do
describe 'GitLab wiki HTTP push' do describe 'GitLab wiki HTTP push' do
context 'wiki commit' do context 'wiki commit' do
it 'is replicated to the secondary node' do it 'is replicated to the secondary node', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/691' do
wiki_content = 'This tests replication of wikis via HTTP' wiki_content = 'This tests replication of wikis via HTTP'
push_content = 'This is from the Geo wiki push!' push_content = 'This is from the Geo wiki push!'
project = nil project = nil
......
...@@ -40,7 +40,7 @@ module QA ...@@ -40,7 +40,7 @@ module QA
end end
end end
it 'is redirected to the primary and ultimately replicated to the secondary' do it 'is redirected to the primary and ultimately replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/693' do
QA::Runtime::Logger.debug('Visiting the secondary geo node') QA::Runtime::Logger.debug('Visiting the secondary geo node')
QA::Flow::Login.while_signed_in(address: :geo_secondary) do QA::Flow::Login.while_signed_in(address: :geo_secondary) do
......
...@@ -4,7 +4,7 @@ module QA ...@@ -4,7 +4,7 @@ module QA
RSpec.describe 'Geo', :orchestrated, :geo do RSpec.describe 'Geo', :orchestrated, :geo do
describe 'GitLab wiki SSH push' do describe 'GitLab wiki SSH push' do
context 'wiki commit' do context 'wiki commit' do
it 'is replicated to the secondary' do it 'is replicated to the secondary', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/688' do
wiki_content = 'This tests replication of wikis via SSH' wiki_content = 'This tests replication of wikis via SSH'
push_content = 'This is from the Geo wiki push via SSH!' push_content = 'This is from the Geo wiki push via SSH!'
project = nil project = nil
......
...@@ -34,7 +34,7 @@ module QA ...@@ -34,7 +34,7 @@ module QA
end end
end end
it 'proxies wiki commit to primary node and ultmately replicates to secondary node' do it 'proxies wiki commit to primary node and ultmately replicates to secondary node', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/694' do
QA::Runtime::Logger.debug('*****Visiting the secondary geo node*****') QA::Runtime::Logger.debug('*****Visiting the secondary geo node*****')
QA::Flow::Login.while_signed_in(address: :geo_secondary) do QA::Flow::Login.while_signed_in(address: :geo_secondary) do
......
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