2017-02-20 07:59:11 -05:00
|
|
|
$: << File.expand_path(File.dirname(__FILE__))
|
2017-02-20 06:45:04 -05:00
|
|
|
|
|
|
|
module QA
|
|
|
|
##
|
|
|
|
# GitLab QA runtime classes, mostly singletons.
|
|
|
|
#
|
|
|
|
module Runtime
|
2017-03-09 06:18:55 -05:00
|
|
|
autoload :Release, 'qa/runtime/release'
|
2017-02-20 06:45:04 -05:00
|
|
|
autoload :User, 'qa/runtime/user'
|
|
|
|
autoload :Namespace, 'qa/runtime/namespace'
|
|
|
|
end
|
|
|
|
|
|
|
|
##
|
|
|
|
# GitLab QA Scenarios
|
|
|
|
#
|
|
|
|
module Scenario
|
|
|
|
##
|
|
|
|
# Support files
|
|
|
|
#
|
|
|
|
autoload :Actable, 'qa/scenario/actable'
|
|
|
|
autoload :Template, 'qa/scenario/template'
|
|
|
|
|
|
|
|
##
|
|
|
|
# Test scenario entrypoints.
|
|
|
|
#
|
|
|
|
module Test
|
|
|
|
autoload :Instance, 'qa/scenario/test/instance'
|
|
|
|
end
|
|
|
|
|
|
|
|
##
|
|
|
|
# GitLab instance scenarios.
|
|
|
|
#
|
|
|
|
module Gitlab
|
|
|
|
module Project
|
|
|
|
autoload :Create, 'qa/scenario/gitlab/project/create'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
##
|
|
|
|
# Classes describing structure of GitLab, pages, menus etc.
|
|
|
|
#
|
|
|
|
# Needed to execute click-driven-only black-box tests.
|
|
|
|
#
|
|
|
|
module Page
|
|
|
|
autoload :Base, 'qa/page/base'
|
|
|
|
|
|
|
|
module Main
|
|
|
|
autoload :Entry, 'qa/page/main/entry'
|
|
|
|
autoload :Menu, 'qa/page/main/menu'
|
2017-07-21 06:10:54 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
module Dashboard
|
|
|
|
autoload :Groups, 'qa/page/dashboard/groups'
|
|
|
|
end
|
|
|
|
|
|
|
|
module Group
|
|
|
|
autoload :Show, 'qa/page/group/show'
|
2017-02-20 06:45:04 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
module Project
|
|
|
|
autoload :New, 'qa/page/project/new'
|
|
|
|
autoload :Show, 'qa/page/project/show'
|
|
|
|
end
|
|
|
|
|
|
|
|
module Admin
|
|
|
|
autoload :Menu, 'qa/page/admin/menu'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
##
|
|
|
|
# Classes describing operations on Git repositories.
|
|
|
|
#
|
|
|
|
module Git
|
|
|
|
autoload :Repository, 'qa/git/repository'
|
|
|
|
end
|
|
|
|
|
|
|
|
##
|
|
|
|
# Classes that make it possible to execute features tests.
|
|
|
|
#
|
|
|
|
module Specs
|
|
|
|
autoload :Config, 'qa/specs/config'
|
|
|
|
autoload :Runner, 'qa/specs/runner'
|
|
|
|
end
|
|
|
|
end
|
2017-03-09 06:18:55 -05:00
|
|
|
|
2017-03-13 08:54:33 -04:00
|
|
|
QA::Runtime::Release.extend_autoloads!
|