Commit Graph

299 Commits

Author SHA1 Message Date
Lin Jen-Shin 8586391e07 Respect the latest changes from master
Basically using the new expand_section
2018-01-25 21:11:44 +08:00
Grzegorz Bizon 7ea8ea8e1a Merge branch 'qa-deploy-key-scenario' into 'master'
Generate ssh key on the fly for QA

See merge request gitlab-org/gitlab-ce!16562
2018-01-25 12:01:28 +00:00
Lin Jen-Shin 209c4c5e3e Merge remote-tracking branch 'upstream/master' into qa-secret-variables-scenario
* upstream/master: (136 commits)
  Revert "Merge branch 'osw-updates-merge-status-on-api-actions' into 'master'"
  Add modal for deleting a milestone
  Revert "Merge branch 'remove-rugged-walk' into 'master'"
  Resolve "Link to Clusters in Auto DevOps instead of Kubernetes service"
  Update CHANGELOG.md for 10.4.1
  Add a gRPC health check to ensure Gitaly is up
  Add formatted_data attribute to Git::WikiPage
  Avoid array indices to fixtures in JS specs
  Migrate .batch_lfs_pointers to Gitaly
  Updates `Revert this merge request` text
  Work around a bug in DatabaseCleaner when using the deletion strategy on MySQL
  Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'
  Workaround a recaptcha pop-up that cannot be tested
  Uses sprite icon to render verified commit badge and uniforms css colors
  Moves more mr widget components into vue files Adds i18n Adds better test coverage
  Execute system hooks after-commit when executing project hooks
  Remove one Spinach job and add one RSpec job
  Remove callback as we already update accordingly on services
  Fix typo in `.gitlab-ci.yml` heading
  Migrate repository bundling to Gitaly
  ...
2018-01-25 19:52:07 +08:00
Lin Jen-Shin ada39be67a Merge remote-tracking branch 'upstream/master' into qa-deploy-key-scenario
* upstream/master: (106 commits)
  Remove callback as we already update accordingly on services
  added missing imports
  correctly imports performance bar
  Added imports for dispatcher routes
  Make the exposing of the Application secret more explicit
  Add documentation about when the application API was added
  Add application create API
  Return a blank JSON response for a missing .js file to prevent Rails CSRF errors
  add CHANGELOG.md entry for !15804
  disable CopyAsGFM on iOS due to bug in webkit
  Update changelog
  GitalyClient::ConflictsService#conflicts? should return true for conflicts with missing side
  Return more consistent values for merge_status on MR API
  Fix a migration spec messing up the MergeRequestDiff DB schema
  Backport changes to Gitlab::Checks::ChangeAccess from EE
  remove webpack bundle tag for monitoring:environments:metrics
  Set timezone for karma to UTC
  Upgrade jasmine + raven to newer versions
  Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the correct location
  Clarify that a feature that isn't in review by the 1st or 3rd doesn't necessarily miss the freeze
  ...
2018-01-24 23:13:56 +08:00
Grzegorz Bizon 41498864a0 Merge branch 'master' into qa/gb/ci-cd-qa-pipelines
* master: (69 commits)

Conflicts:
	qa/qa.rb
2018-01-23 13:04:58 +01:00
Grzegorz Bizon ededa488f2 Assert on pipeline jobs statuses in CI/CD QA tests 2018-01-23 12:56:06 +01:00
Grzegorz Bizon 5cb94835c0 Refactor QA instance test scenario and tags 2018-01-23 12:04:01 +01:00
Brett Walker b8b9e9eb8e Add ability to drive the API in QA specs 2018-01-23 10:23:23 +00:00
Grzegorz Bizon 50a82f64e5 Add end-to-end test for registering GitLab Runner 2018-01-22 14:03:03 +01:00
Lin Jen-Shin ca7e1058e8 Add a scenario for adding secret variables 2018-01-22 18:22:44 +08:00
Grzegorz Bizon d0b08f1c50 Add GitLab Runner service to GitLab QA 2018-01-22 09:59:55 +01:00
Lin Jen-Shin ccceb26617 Generate ssh key on the fly for QA 2018-01-22 15:41:52 +08:00
Filipe Freire d7caa2f8cc improvements after CR
+ move activity click to side.rb
+ add element check on activity.rb
+ minor fixes
2018-01-16 20:20:57 +00:00
Filipe Freire a1a5d14298 improvement after CR
- test reaches Activity page
- the actual git push seems to be failing
- had problems with defining selectors
2018-01-12 17:45:08 +00:00
Grzegorz Bizon d5a92c53dd Implement QA pages and views validator 2018-01-09 11:28:14 +01:00
Grzegorz Bizon 489267e6dd Merge branch 'master' into qa/gb/validate-qa-selectors
* master: (429 commits)
2018-01-09 09:42:43 +01:00
Brett Walker 6762d2875e Resolve "Allow QA tests to run with `CHROME_HEADLESS=false`" 2018-01-08 12:44:32 +00:00
Lin Jen-Shin 1e79ebf044 Put all menus under menu module 2018-01-02 22:27:01 +08:00
Lin Jen-Shin 7945878d45 Introduce common project settings and just put
everything in the scenario without a before block.
2018-01-02 22:27:01 +08:00
Lin Jen-Shin 9f7fe67741 Introduce Factory::Resource::DeployKey 2018-01-02 22:27:01 +08:00
Lin Jen-Shin bc5552b359 Introduce Menu::Side 2018-01-02 22:27:01 +08:00
Lin Jen-Shin 2078cb4e84 Rename DeployKey to DeployKeys 2017-12-28 20:50:22 +08:00
Lin Jen-Shin 7377b97c5f QA: Add a scenario for adding a deploy key 2017-12-28 17:20:33 +08:00
Grzegorz Bizon 208411ee62 Add QA classes that represent view partials and elements 2017-12-22 11:54:08 +01:00
Grzegorz Bizon 32424e461b Add QA sanity selectors scenario entrypoint 2017-12-22 11:51:25 +01:00
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