Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
6c84e07376
commit
e38f287319
31 changed files with 32 additions and 31 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Snippet repository storage', :requires_admin, :orchestrated, :repository_storage do
|
||||
let(:source_storage) { { type: :gitaly, name: 'default' } }
|
||||
let(:destination_storage) { { type: :gitaly, name: QA::Runtime::Env.additional_repository_storage } }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
module QA
|
||||
RSpec.describe 'Create', :runner, only: { subdomain: :staging } do
|
||||
RSpec.describe 'Create', :runner, only: { subdomain: :staging }, product_group: :editor do
|
||||
# TODO: Convert back to :smoke once proved to be stable. Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/300906
|
||||
describe 'Pages' do
|
||||
let!(:project) do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Testing wiki content creation inside a project' do
|
||||
let(:new_wiki_title) { "just_another_wiki_page" }
|
||||
let(:new_wiki_content) { "this content is changed or added" }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Testing wiki content manipulation inside a project' do
|
||||
let(:new_wiki_title) { "just_another_wiki_page" }
|
||||
let(:new_wiki_content) { "this content is changed or added" }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'A project wiki' do
|
||||
let(:initial_wiki) { Resource::Wiki::ProjectPage.fabricate_via_api! }
|
||||
let(:new_path) { "a/new/path-with-spaces" }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create', :reliable do
|
||||
RSpec.describe 'Create', :reliable, product_group: :editor do
|
||||
describe 'Testing project wiki file upload' do
|
||||
let(:initial_wiki) { Resource::Wiki::ProjectPage.fabricate_via_api! }
|
||||
let(:page_title) { 'Content Editor Page' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Project Wiki' do
|
||||
let(:small_number_of_pages) { 5 }
|
||||
let(:large_number_of_pages) { 15 }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Testing project wiki'
|
||||
let(:initial_wiki) { Resource::Wiki::ProjectPage.fabricate_via_api! }
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Adding comments on snippets' do
|
||||
let(:comment_author) { Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) }
|
||||
let(:comment_content) { 'Comment 123' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Multiple file snippet' do
|
||||
let(:personal_snippet) do
|
||||
Resource::Snippet.fabricate_via_api! do |snippet|
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Version control for personal snippets' do
|
||||
let(:new_file) { 'new_snippet_file' }
|
||||
let(:changed_content) { 'changes' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Version control for project snippets' do
|
||||
let(:new_file) { 'new_snippet_file' }
|
||||
let(:changed_content) { 'changes' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create', :reliable do
|
||||
RSpec.describe 'Create', :reliable, product_group: :editor do
|
||||
describe 'Multiple file snippet' do
|
||||
let(:first_file_content) { 'First file content' }
|
||||
let(:second_file_content) { 'Second file content' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create', :smoke do
|
||||
RSpec.describe 'Create', :smoke, product_group: :editor do
|
||||
describe 'Personal snippet creation' do
|
||||
let(:snippet) do
|
||||
Resource::Snippet.fabricate_via_browser_ui! do |snippet|
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
describe 'Multiple file snippet', :reliable do
|
||||
describe 'Multiple file snippet', :reliable, product_group: :editor do
|
||||
let(:snippet) do
|
||||
Resource::Snippet.fabricate_via_browser_ui! do |snippet|
|
||||
snippet.title = 'Personal snippet with multiple files'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do # to be converted to a smoke test once proved to be stable
|
||||
RSpec.describe 'Create', product_group: :editor do # to be converted to a smoke test once proved to be stable
|
||||
describe 'Project snippet creation' do
|
||||
let(:snippet) do
|
||||
Resource::ProjectSnippet.fabricate_via_browser_ui! do |snippet|
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create', :reliable do
|
||||
RSpec.describe 'Create', :reliable, product_group: :editor do
|
||||
describe 'Multiple file snippet' do
|
||||
let(:snippet) do
|
||||
Resource::ProjectSnippet.fabricate_via_browser_ui! do |snippet|
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
describe 'Multiple file snippet', :reliable do
|
||||
describe 'Multiple file snippet', :reliable, product_group: :editor do
|
||||
let(:personal_snippet) do
|
||||
Resource::Snippet.fabricate_via_api! do |snippet|
|
||||
snippet.title = 'Personal snippet to delete file from'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
describe 'Sharing snippets', :reliable do
|
||||
describe 'Sharing snippets', :reliable, product_group: :editor do
|
||||
let(:snippet) do
|
||||
Resource::Snippet.fabricate! do |snippet|
|
||||
snippet.title = 'Shared snippet'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Snippet index page' do
|
||||
let(:personal_snippet_with_single_file) do
|
||||
Resource::Snippet.fabricate_via_api! do |snippet|
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# tagged transient due to feature-flag caching flakiness. Remove tag along with feature flag removal.
|
||||
module QA
|
||||
RSpec.describe 'Create', feature_flag: { name: 'source_editor_toolbar', scope: :global } do
|
||||
describe 'Source editor toolbar preview' do
|
||||
describe 'Source editor toolbar preview', product_group: :editor do
|
||||
let(:project) do
|
||||
Resource::Project.fabricate_via_api! do |project|
|
||||
project.name = 'empty-project-with-md'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Web IDE file templates' do
|
||||
include Runtime::Fixtures
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Add a directory in Web IDE' do
|
||||
let(:project) do
|
||||
Resource::Project.fabricate_via_api! do |project|
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'First file using Web IDE' do
|
||||
let(:project) do
|
||||
Resource::Project.fabricate_via_api! do |project|
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Link to line in Web IDE' do
|
||||
let(:user) { Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) }
|
||||
let(:project) do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Open a fork in Web IDE',
|
||||
skip: {
|
||||
issue: "https://gitlab.com/gitlab-org/gitlab/-/issues/351696",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Open Web IDE from Diff Tab' do
|
||||
files = [
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Review a merge request in Web IDE' do
|
||||
let(:new_file) { 'awesome_new_file.txt' }
|
||||
let(:original_text) { 'Text' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create', :skip_live_env, except: { job: 'review-qa-*' } do
|
||||
RSpec.describe 'Create', :skip_live_env, except: { job: 'review-qa-*' }, product_group: :editor do
|
||||
describe 'Git Server Hooks' do
|
||||
let(:file_path) { File.absolute_path(File.join('qa', 'fixtures', 'web_ide', 'README.md')) }
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module QA
|
||||
RSpec.describe 'Create' do
|
||||
RSpec.describe 'Create', product_group: :editor do
|
||||
describe 'Upload a file in Web IDE' do
|
||||
let(:file_path) { File.absolute_path(File.join('qa', 'fixtures', 'web_ide', file_name)) }
|
||||
|
||||
|
|
|
@ -9,7 +9,8 @@ module QA
|
|||
quarantine: {
|
||||
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/338179',
|
||||
type: :bug
|
||||
}
|
||||
},
|
||||
product_group: :editor
|
||||
) do
|
||||
describe 'Web IDE web terminal' do
|
||||
before do
|
||||
|
|
Loading…
Reference in a new issue