Commit bd3edad4 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'mk/backport-use-strings-for-context-description-qa' into 'master'

[CE backport] QA: Use strings for context descriptions

See merge request gitlab-org/gitlab-ce!22469
parents 271a6cec 9a1f1f26
# 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)
......
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, :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)
......
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