diff options
author | Richard Clamp <richardc@unixbeard.net> | 2017-10-16 12:49:54 +0100 |
---|---|---|
committer | Richard Clamp <richardc@unixbeard.net> | 2017-10-16 12:49:54 +0100 |
commit | d600ea75c35235fd23da8bd65a8034778112c0d2 (patch) | |
tree | 7b6ef325664706547d3575102f411da94c9afa66 /qa | |
parent | 9818d3eec69cbf27c63ee481871544f726a9decc (diff) | |
download | gitlab-ce-d600ea75c35235fd23da8bd65a8034778112c0d2.tar.gz |
Move tags out to containing feature
We can currently reduce the number of times we specify the tag of a
given example group by moving them hoisting them up one level to the
containing `feature`
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/login/standard_spec.rb | 4 | ||||
-rw-r--r-- | qa/qa/specs/features/mattermost/group_create_spec.rb | 4 | ||||
-rw-r--r-- | qa/qa/specs/features/project/create_spec.rb | 4 | ||||
-rw-r--r-- | qa/qa/specs/features/repository/clone_spec.rb | 8 | ||||
-rw-r--r-- | qa/qa/specs/features/repository/push_spec.rb | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/qa/qa/specs/features/login/standard_spec.rb b/qa/qa/specs/features/login/standard_spec.rb index d674ecc8fa8..ba19ce17ee5 100644 --- a/qa/qa/specs/features/login/standard_spec.rb +++ b/qa/qa/specs/features/login/standard_spec.rb @@ -1,6 +1,6 @@ module QA - feature 'standard root login' do - scenario 'user logs in using credentials', :core do + feature 'standard root login', :core do + scenario 'user logs in using credentials' do Page::Main::Entry.act { sign_in_using_credentials } # TODO, since `Signed in successfully` message was removed diff --git a/qa/qa/specs/features/mattermost/group_create_spec.rb b/qa/qa/specs/features/mattermost/group_create_spec.rb index 965775d4846..c4afd83c8e4 100644 --- a/qa/qa/specs/features/mattermost/group_create_spec.rb +++ b/qa/qa/specs/features/mattermost/group_create_spec.rb @@ -1,6 +1,6 @@ module QA - feature 'create a new group' do - scenario 'creating a group with a mattermost team', :mattermost do + feature 'create a new group', :mattermost do + scenario 'creating a group with a mattermost team' do Page::Main::Entry.act { sign_in_using_credentials } Page::Main::Menu.act { go_to_groups } diff --git a/qa/qa/specs/features/project/create_spec.rb b/qa/qa/specs/features/project/create_spec.rb index 1328fe42be4..27eb22f15a6 100644 --- a/qa/qa/specs/features/project/create_spec.rb +++ b/qa/qa/specs/features/project/create_spec.rb @@ -1,6 +1,6 @@ module QA - feature 'create a new project' do - scenario 'user creates a new project', :core do + feature 'create a new project', :core do + scenario 'user creates a new project' do Page::Main::Entry.act { sign_in_using_credentials } Scenario::Gitlab::Project::Create.perform do |project| diff --git a/qa/qa/specs/features/repository/clone_spec.rb b/qa/qa/specs/features/repository/clone_spec.rb index 1c7202d3035..3571173783d 100644 --- a/qa/qa/specs/features/repository/clone_spec.rb +++ b/qa/qa/specs/features/repository/clone_spec.rb @@ -1,6 +1,6 @@ module QA - feature 'clone code from the repository' do - context 'with regular account over http', :core do + feature 'clone code from the repository', :core do + context 'with regular account over http' do given(:location) do Page::Project::Show.act do choose_repository_clone_http @@ -30,7 +30,7 @@ module QA end end - scenario 'user performs a deep clone', :core do + scenario 'user performs a deep clone' do Git::Repository.perform do |repository| repository.location = location repository.use_default_credentials @@ -41,7 +41,7 @@ module QA end end - scenario 'user performs a shallow clone', :core do + scenario 'user performs a shallow clone' do Git::Repository.perform do |repository| repository.location = location repository.use_default_credentials diff --git a/qa/qa/specs/features/repository/push_spec.rb b/qa/qa/specs/features/repository/push_spec.rb index c21068dc6cd..0e691fb0d75 100644 --- a/qa/qa/specs/features/repository/push_spec.rb +++ b/qa/qa/specs/features/repository/push_spec.rb @@ -1,7 +1,7 @@ module QA - feature 'push code to repository' do + feature 'push code to repository', :core do context 'with regular account over http' do - scenario 'user pushes code to the repository', :core do + scenario 'user pushes code to the repository' do Page::Main::Entry.act { sign_in_using_credentials } Scenario::Gitlab::Project::Create.perform do |scenario| |