Commit 90cdd797 authored by Michael Kozono's avatar Michael Kozono Committed by Rémy Coutable

Use strings for context descriptions

To avoid confusion with tags.
parent 53b14341
# frozen_string_literal: true
module QA
context :manage do
context 'Manage' do
describe 'Users API' do
before(:context) do
@api_client = Runtime::API::Client.new(:gitlab)
......
# frozen_string_literal: true
module QA
context :plan do
context 'Plan' do
describe 'Epics milestone dates API' do
before(:context) do
@api_client = Runtime::API::Client.new(:gitlab)
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'Geo Nodes API' do
before(:all) do
get_personal_access_token
......
# frozen_string_literal: true
module QA
context :manage, :orchestrated, :group_saml do
context 'Manage', :orchestrated, :group_saml do
describe 'Group SAML SSO' do
before do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
module QA
context :manage, :smoke do
context 'Manage', :smoke do
describe 'basic user login' do
it 'user logs in using basic credentials' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :manage, :orchestrated, :ldap do
context 'Manage', :orchestrated, :ldap do
describe 'LDAP login' do
it 'user logs into GitLab using LDAP credentials' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :manage, :orchestrated, :mattermost do
context 'Manage', :orchestrated, :mattermost do
describe 'Mattermost login' do
it 'user logs into Mattermost using GitLab OAuth' do
Runtime::Browser.visit(:gitlab, Page::Main::Login) do
......
# frozen_string_literal: true
module QA
context :manage, :orchestrated, :instance_saml do
context 'Manage', :orchestrated, :instance_saml do
describe 'Instance wide SAML SSO' do
it 'User logs in to gitlab with SAML SSO' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
......@@ -16,13 +16,13 @@ module QA
end
end
context :manage, :skip_signup_disabled do
context 'Manage', :skip_signup_disabled do
describe 'standard' do
it_behaves_like 'registration and login'
end
end
context :manage, :orchestrated, :ldap, :skip_signup_disabled do
context 'Manage', :orchestrated, :ldap, :skip_signup_disabled do
describe 'while LDAP is enabled' do
it_behaves_like 'registration and login'
end
......
# frozen_string_literal: true
module QA
context :manage do
context 'Manage' do
describe 'Add project member' do
it 'user adds project member' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :manage, :smoke do
context 'Manage', :smoke do
describe 'Project creation' do
it 'user creates a new project' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :manage, :orchestrated, :github do
context 'Manage', :orchestrated, :github do
describe 'Project import from GitHub' do
let(:imported_project) do
Factory::Resource::ProjectImportedFromGithub.fabricate! do |project|
......
# frozen_string_literal: true
module QA
context :manage do
context 'Manage' do
describe 'Project activity' do
it 'user creates an event in the activity page upon Git push' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :plan do
context 'Plan' do
describe 'Epics Creation' do
before(:all) do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :plan, :smoke do
context 'Plan', :smoke do
describe 'Issue creation' do
let(:issue_title) { 'issue title' }
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Merge request creation' do
it 'user creates a new merge request' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Merge request creation from fork' do
it 'user forks a project, submits a merge request and maintainer merges it' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Merge request rebasing' do
it 'user rebases source branch of merge request' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Merge request squashing' do
it 'user squashes commits while merging' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'File templates' do
include Runtime::Fixtures
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'SSH keys support' do
let(:key_title) { "key for ssh tests #{Time.now.to_f}" }
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Git clone over HTTP', :ldap do
let(:location) do
Page::Project::Show.act do
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Files management' do
it 'user creates, edits and deletes a file via the Web' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Git push over HTTP', :ldap do
it 'user pushes code to the repository' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Protected branch support', :ldap do
let(:branch_name) { 'protected-branch' }
let(:commit_message) { 'Protected push commit message' }
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'SSH key support' do
# Note: If you run this test against GDK make sure you've enabled sshd
# See: https://gitlab.com/gitlab-org/gitlab-qa/blob/master/docs/run_qa_against_gdk.md
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Web IDE file templates' do
include Runtime::Fixtures
......
# frozen_string_literal: true
module QA
context :create do
context 'Create' do
describe 'Wiki management' do
def login
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :verify, :orchestrated, :docker do
context 'Verify', :orchestrated, :docker do
describe 'Pipeline creation and processing' do
let(:executor) { "qa-runner-#{Time.now.to_i}" }
......
# frozen_string_literal: true
module QA
context :verify, :docker do
context 'Verify', :docker do
describe 'Runner registration' do
let(:executor) { "qa-runner-#{Time.now.to_i}" }
......
# frozen_string_literal: true
module QA
context :verify do
context 'Verify' do
describe 'Secret variable support' do
it 'user adds a secret variable' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :release do
context 'Release' do
describe 'Deploy key creation' do
it 'user adds a deploy key' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
......@@ -3,7 +3,7 @@
require 'digest/sha1'
module QA
context :release, :docker do
context 'Release', :docker do
describe 'Git clone using a deploy key' do
def login
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :release do
context 'Release' do
describe 'Deploy token creation' do
it 'user adds a deploy token' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
......@@ -3,7 +3,7 @@
require 'pathname'
module QA
context :configure, :orchestrated, :kubernetes do
context 'Configure', :orchestrated, :kubernetes do
describe 'Auto DevOps support' do
after do
@cluster&.remove!
......
# frozen_string_literal: true
module QA
context :configure, :orchestrated, :mattermost do
context 'Configure', :orchestrated, :mattermost do
describe 'Mattermost support' do
it 'user creates a group with a mattermost team' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab Geo attachment replication' do
let(:file_to_attach) { File.absolute_path(File.join('spec', 'fixtures', 'banana_sample.gif')) }
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab HTTP push' do
it 'is replicated to the secondary' do
file_name = 'README.md'
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab HTTP push to secondary' do
it 'is redirected to the primary and ultimately replicated to the secondary' do
file_name = 'README.md'
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab Geo project rename replication' do
it 'user renames project' do
# create the project and push code
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab SSH push' do
it "is replicated to the secondary" do
file_name = 'README.md'
......
# frozen_string_literal: true
module QA
context :geo, :orchestrated, :geo do
context 'Geo', :orchestrated, :geo do
describe 'GitLab SSH push to secondary' do
it "is proxy'd to the primary and ultimately replicated to the secondary" do
file_name = 'README.md'
......
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