Commit graph

24 commits

Author SHA1 Message Date
Grzegorz Bizon
6df36c9d90 Add support for defining explicit dependencies to QA factories 2017-12-21 09:38:06 +00:00
Grzegorz Bizon
890066e20d Fix remaining calls to GitLab QA factories 2017-12-15 10:46:58 +01:00
Grzegorz Bizon
5c393b39ab Rename QA scenarios to make factory concept explicit 2017-12-15 10:46:58 +01:00
Grzegorz Bizon
9b9c62202c Merge branch 'master' into qa/gb/selenium-handle-domain-sessions
* master: (93 commits)
2017-12-11 14:17:11 +01:00
Felipe Artur
77c9632e9c Turn push file into a scenario 2017-12-07 11:30:32 -02:00
Grzegorz Bizon
fc00d739fc Merge branch 'master' into qa/gb/selenium-handle-domain-sessions
* master: (694 commits)

Conflicts:
	qa/qa/page/base.rb
	qa/qa/page/main/entry.rb
2017-12-07 13:40:25 +01:00
Rémy Coutable
dabd858812 Backport QA code that belongs to CE from EE Geo
Merge branch 'qa/gb/add-geo-integration-tests' into 'master'

See merge request gitlab-org/gitlab-ee!3294
2017-11-22 11:18:07 +01:00
Grzegorz Bizon
6e1df95ed3 Remove GitLab entry page class in QA
[ci skip]
2017-11-17 17:51:09 +01:00
Grzegorz Bizon
0430524bfe WIP Handle domain sessions better in QA test scenario
[ci skip]
2017-11-17 15:19:42 +01:00
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