parent
6373ef07c7
commit
8a418f3e48
|
@ -6,7 +6,7 @@ module QA
|
||||||
# including staging and on-premises installation.
|
# including staging and on-premises installation.
|
||||||
#
|
#
|
||||||
class Instance < Scenario::Template
|
class Instance < Scenario::Template
|
||||||
def perform(address, tag, *files)
|
def perform(address, *files)
|
||||||
Specs::Config.perform do |specs|
|
Specs::Config.perform do |specs|
|
||||||
specs.address = address
|
specs.address = address
|
||||||
end
|
end
|
||||||
|
@ -17,9 +17,7 @@ module QA
|
||||||
Runtime::Release.perform_before_hooks
|
Runtime::Release.perform_before_hooks
|
||||||
|
|
||||||
Specs::Runner.perform do |specs|
|
Specs::Runner.perform do |specs|
|
||||||
files = files.any? ? files : 'qa/specs/features'
|
specs.rspec('--tty', files.any? ? files : 'qa/specs/features')
|
||||||
|
|
||||||
specs.rspec('--tty', '--tag', tag.to_s, files)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module QA
|
module QA
|
||||||
feature 'standard root login', :ce, :ee do
|
feature 'standard root login' do
|
||||||
scenario 'user logs in using credentials' do
|
scenario 'user logs in using credentials' do
|
||||||
Page::Main::Entry.act { sign_in_using_credentials }
|
Page::Main::Entry.act { sign_in_using_credentials }
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module QA
|
module QA
|
||||||
feature 'create a new project', :ce, :ee, :staging do
|
feature 'create a new project' do
|
||||||
scenario 'user creates a new project' do
|
scenario 'user creates a new project' do
|
||||||
Page::Main::Entry.act { sign_in_using_credentials }
|
Page::Main::Entry.act { sign_in_using_credentials }
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module QA
|
module QA
|
||||||
feature 'clone code from the repository', :ce, :ee, :staging do
|
feature 'clone code from the repository' do
|
||||||
context 'with regular account over http' do
|
context 'with regular account over http' do
|
||||||
given(:location) do
|
given(:location) do
|
||||||
Page::Project::Show.act do
|
Page::Project::Show.act do
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module QA
|
module QA
|
||||||
feature 'push code to repository', :ce, :ee, :staging do
|
feature 'push code to repository' do
|
||||||
context 'with regular account over http' do
|
context 'with regular account over http' do
|
||||||
scenario 'user pushes code to the repository' do
|
scenario 'user pushes code to the repository' do
|
||||||
Page::Main::Entry.act { sign_in_using_credentials }
|
Page::Main::Entry.act { sign_in_using_credentials }
|
||||||
|
|
Loading…
Reference in New Issue