Commit graph

15 commits

Author SHA1 Message Date
Rémy Coutable
49d17e78ce Change Page::Main::Entry to only visit an entrypoint and introduce Page::Main::Login to handle actual log-in
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-10 16:06:29 +01:00
Grzegorz Bizon
7710364667 Make it possible to define global scenario attributes 2017-11-09 11:53:57 +00:00
Richard Clamp
ce3b81b953 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.
2017-10-30 14:48:40 +00:00
Richard Clamp
60e8347c7f Add Test::Integration::Mattermost
Here we add a new entrypoint for the test suite,
Test::Integration::Mattermost.  It is to ensure that mattermost
integration is working when enabling the embedded mattermost of
gitlab-omnibus

It runs all the example groups from Test::Instance, in addition to any
groups tagged :mattermost

* Extracts a common entrypoint class from Test::Instance as
  Scenario::Entrypoint, and uses that as the base for Test::Instance and
  Test::Integration::Mattermost

* RSpec groups defined in `specs/features/mattermost/**_spec.rb` are
  tagged with :mattermost so they can be filtered out of the default
  run.

* Tests tagged :mattermost are filtered out by default, and are
  un-filtered by Test::Integration::Mattermost
2017-10-13 14:04:38 +01:00
Robert Speicher
395820782f Add QA::Scenario::Gitlab::Group::Create 2017-10-09 14:25:38 +02:00
Robert Speicher
348c610592 Add QA::Page::Group::New to fill in the "Create group" form 2017-10-06 15:27:19 +02:00
Robert Speicher
9972b0e6a0 Use autoloading instead of an explicit require 2017-10-06 12:59:06 +02:00
Grzegorz Bizon
a6ac872b86 Fix new project selectors in GitLab QA 2017-07-21 12:13:27 +02:00
Grzegorz Bizon
1eeb70843f Fix QA test scenario for creating a new project 2017-07-10 11:42:21 +02:00
Grzegorz Bizon
0731365b9d Add GitLab QA CE strategy and simplify inflector 2017-03-13 13:54:33 +01:00
Grzegorz Bizon
6373ef07c7 Remove EE classes from GitLab QA merged into CE 2017-03-09 12:29:55 +01:00
Grzegorz Bizon
92c3a9941c Fix using release inflector to define autoloads 2017-03-09 12:22:47 +01:00
Grzegorz Bizon
5becdf0194 Implement GitLab QA release inflection strategy 2017-03-09 12:18:55 +01:00
Grzegorz Bizon
161d0aa43d Fix Rubocop offense and remove QA Rubocop from deps 2017-03-09 10:36:27 +01:00
Grzegorz Bizon
7d20e47622 Add GitLab QA integrations tests to GitLab CE / EE 2017-03-09 10:36:27 +01:00