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`
This commit is contained in:
Richard Clamp 2017-10-16 12:49:54 +01:00
parent 9818d3eec6
commit d600ea75c3
5 changed files with 12 additions and 12 deletions

View file

@ -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

View file

@ -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 }

View file

@ -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|

View file

@ -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

View file

@ -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|