Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa/qa.rb
diff options
context:
space:
mode:
authorRichard Clamp <richardc@unixbeard.net>2017-10-25 07:55:42 +0300
committerRichard Clamp <richardc@unixbeard.net>2017-10-30 17:48:40 +0300
commitce3b81b953f04caabee30498bb4719c59b8b5d34 (patch)
tree1358c537720bea55ce8405a7b38f7c749c49b271 /qa/qa.rb
parent4598c00a8f565a33c4460ae920ce7a65ba6540cc (diff)
Add tests for mattermost login via oauth
* Adds Runtime::Scenario as a place to record the properties of the Scenario we're interested in. * Adds a positional argument to Test::Integration::Mattermost to specify Runtime::Scenario.mattermost * Adds Page::Mattermost::{Main,Login} to model the mattermost pages we need to interact with. * Adds qa/features/mattermost/login_spec to perform a login via oauth and ensure we are logged in.
Diffstat (limited to 'qa/qa.rb')
-rw-r--r--qa/qa.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/qa/qa.rb b/qa/qa.rb
index 59d9dd131c2..e8689a44f4d 100644
--- a/qa/qa.rb
+++ b/qa/qa.rb
@@ -8,6 +8,7 @@ module QA
autoload :Release, 'qa/runtime/release'
autoload :User, 'qa/runtime/user'
autoload :Namespace, 'qa/runtime/namespace'
+ autoload :Scenario, 'qa/runtime/scenario'
end
##
@@ -80,6 +81,11 @@ module QA
module Admin
autoload :Menu, 'qa/page/admin/menu'
end
+
+ module Mattermost
+ autoload :Main, 'qa/page/mattermost/main'
+ autoload :Login, 'qa/page/mattermost/login'
+ end
end
##