Commit Graph

610 Commits

Author SHA1 Message Date
Grzegorz Bizon 2356f9ab25 Merge branch 'qa-auto-assign-codeowner-spec' into 'master'
Update merge request page object and selectors

See merge request gitlab-org/gitlab-ce!22939
2018-11-13 15:40:22 +00:00
Mark Lapierre 8fe96f4e50 Update merge request page object and selectors
These are changes from EE that are also relevant to CE from:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8372
2018-11-09 11:53:49 -05:00
Mark Lapierre 1618282e5a Add e2e test of push via HTTP via Git protocol v2
Adds a new end-to-end test to check that Git protocol v2 can be used to
push over HTTP
2018-11-08 14:57:13 -05:00
Ramya Authappan fedc6de373 Fix for the filter spec failure 2018-11-08 05:55:18 +00:00
Nick Thomas 068e75f660 Merge branch 'ml-qa-git-protocol-v2-spec' into 'master'
Add e2e test of push over SSH using Git protocol v2

See merge request gitlab-org/gitlab-ce!22548
2018-11-08 00:13:51 +00:00
Mark Lapierre 765ca40d65 Add e2e test of push over SSH over Git protocol v2
Adds a new end-to-end test to check that Git protocol v2 can be used to
push over SSH.

Includes a change in Git::Repository to use Runtime::Env.debug? to
enable logging instead of .verbose?
2018-11-07 12:16:17 -05:00
Lin Jen-Shin 11a6c79314 Restore changes from:
190afc62fb

It was lost during a conflict resolution
2018-11-06 19:25:45 +08:00
Lin Jen-Shin 4d0fd75cd5 Rename QA::Factory to QA::Resource
* Factory::Base -> Resource::Base, and therefore:
* Factory::Resource::Project -> Resource::Project
2018-11-05 22:20:57 +08:00
Nick Thomas 2ae6c47ddd Merge branch 'qa-batch-comments-e2e-tests' into 'master'
QA Selectors for Batch Comment E2E Automation

See merge request gitlab-org/gitlab-ce!22681
2018-11-05 11:34:10 +00:00
Grzegorz Bizon 8ceb3dc341 Merge branch 'ml-create-user-via-api-qa' into 'master'
Create users via the API

See merge request gitlab-org/gitlab-ce!22779
2018-11-05 10:03:45 +00:00
Mark Lapierre 190afc62fb Create users via the API
Allows users to be fetched/created via the API.
2018-11-02 14:27:28 -04:00
Sean McGivern 2a89f065a4 Merge branch 'ml-fix-logging-qa' into 'master'
Don't log fabricate args

See merge request gitlab-org/gitlab-ce!22753
2018-11-02 15:14:51 +00:00
Mark Lapierre e614af0b01 Don't log fabricate args
Prevents logging of sensitive data
2018-11-02 10:50:15 -04:00
Kamil Trzciński 46fd31594e Merge branch 'top_level_clusters_controller' into 'master'
Top level clusters controller

See merge request gitlab-org/gitlab-ce!22438
2018-11-02 12:34:40 +00:00
Thong Kuah 1a1fdf8efe Resolve controller sharing concern
Use ClustersController as base while having Projects::ClustersController
to inform what `clusterable` is. Thanks @ayufan for the great suggestion
!

- View changes to work with new approach

- Fix javascript for new approach

- Fix feature specs for new approach

- Fix QA
2018-11-01 19:37:33 +13:00
Thong Kuah 5b3c096c9e Convert clusters to use a top-level controller
In preparation so that we can create both cluster attached to project
and cluster attached to group.

- Move ClustersController to top level

- Move Clusters::ApplicationsController to top-level too

- Creates a Clusters::BaseController to share common functions

- Do not rely on @project ivar. Anything could set the ivar.

- Fix Vue page components due to new data-page value

Because of the controller change we have gone from
`projects:clusters:new` to `clusters:new`, so we need to update the file
location of the page components. There is somewhere a function that will
convert data-page to a file location.

On that note, projects/clusters/gcp/new/, translate to
Projects::Clusters::Gcp#new doesn't exist so replace that with
clusters/create_gcp/ and clusters/create_user/
2018-11-01 18:38:36 +13:00
at.ramya 1b4e3e7438 removing duplicate definitions 2018-10-31 10:18:05 +05:30
Lin Jen-Shin e7741b0e52 CE: Absorb product into factory 2018-10-31 02:44:47 +00:00
Sean McGivern 317554609e Merge branch 'ml-qa-squash-fix' into 'master'
Wait for push before checking for new commit

Closes gitlab-org/quality/staging#14

See merge request gitlab-org/gitlab-ce!22633
2018-10-30 12:07:45 +00:00
at.ramya c4a07e54f3 Adding methods 2018-10-30 14:42:51 +05:30
at.ramya 956912e542 QA Selectors for Batch Comment E2E Automation 2018-10-30 14:42:51 +05:30
at.ramya dbef128fa3 Adding methods 2018-10-30 14:42:51 +05:30
at.ramya 25b658cf65 QA Selectors for Batch Comment E2E Automation 2018-10-30 14:42:50 +05:30
Marcel Amirault 14fc739c94 Renaming Secret Variables in the codebase 2018-10-30 08:49:26 +00:00
Ramya Authappan 75847b55a1 Adding tests for filtering activities/comments in issues 2018-10-30 07:48:49 +00:00
Mark Lapierre abf3a2d2d4 Add e2e test to push using a private token
Tests pushing over HTTP(S) using a personal access token
2018-10-29 13:59:17 -04:00
Mark Lapierre f875a6f96c Wait for push before checking for new commit
Wait for the push to be completed before checking that the merge
request shows the change
2018-10-26 15:47:30 -04:00
Stan Hu 1815aa561a Merge branch 'qa-59-ldap-ssl-scenario' into 'master'
E2E Test - LDAP login with SSL

Closes gitlab-qa#59

See merge request gitlab-org/gitlab-ce!22574
2018-10-26 15:59:49 +00:00
Robert Speicher 08d946e209 Merge branch 'ml-qa-repo-logging' into 'master'
Re-enable debug logging of Git commands and output

See merge request gitlab-org/gitlab-ce!22608
2018-10-25 22:21:32 +00:00
Lin Jen-Shin 5151801964 Always use `attribute` to define the product 2018-10-25 20:29:24 +00:00
Mark Lapierre a85c8e346f Re-enable debug logging of Git commands and output 2018-10-25 15:21:21 -04:00
Sanad Liaquat 83d64ed40c Add missing frozen_string_literal 2018-10-25 15:28:59 +05:00
Sanad Liaquat f49034ba49 Rename SSL to TLS 2018-10-25 13:11:19 +05:00
Sanad Liaquat 7983c798af Renamed to ldap_no_ssl and ldap_ssl 2018-10-24 17:43:30 +05:00
Sanad Liaquat 38a6ecbe3e Added ldap_ssl tag to existing test 2018-10-24 13:45:09 +05:00
Douglas Barbosa Alexandre 5adf178157 Merge branch 'qa-backport-recent-ee-changes' into 'master'
[QA] Port recent changes from EE

See merge request gitlab-org/gitlab-ce!22391
2018-10-22 15:50:11 +00:00
Rémy Coutable bd3edad490 Merge branch 'mk/backport-use-strings-for-context-description-qa' into 'master'
[CE backport] QA: Use strings for context descriptions

See merge request gitlab-org/gitlab-ce!22469
2018-10-22 11:15:38 +00:00
Rémy Coutable e5f01cc8a1
[QA] Port recent changes from EE
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-22 10:03:11 +02:00
Mark Lapierre 45860bc807 Log page actions
Override page object methods to log the actions taken by the methods
before or after the action, as appropriate.

Allow page object action logging to be turned on via a QA_DEBUG env var.
Unlike CHROME_HEADLESS (and the soon to arrive VERBOSE), QA_DEBUG
is false by default.

QA_DEBUG is used instead of just DEBUG because that enables Selenium
debug logging.

Mask passwords entered into fields with a QA selector with 'password'
in the name. Doesn't mask sensitive data entered into any other field.
2018-10-19 18:32:33 -04:00
Michael Kozono 9a1f1f2686 Use strings for context descriptions
To avoid confusion with tags.
2018-10-18 12:00:52 -07:00
Rémy Coutable 280a4b95c0 [QA] Fix resource API fabrication documentation
The precedence of methods to fetch a product's attribute value was changed recently:

1. API response
2. Web UI block
3. Inheritance from the factory
4. Raise a `QA::Factory::Product::NoValueError` error otherwise
2018-10-18 13:56:04 +00:00
Rémy Coutable d4ad28856d Merge branch 'qa-nightly-26' into 'master'
[QA] Fix the 'clone using deploy key' tests

Closes gitlab-org/quality/nightly#26

See merge request gitlab-org/gitlab-ce!22445
2018-10-18 10:17:23 +00:00
Rémy Coutable 329aa24920 Merge branch 'ml-qa-code-owners' into 'master'
QA: Add support for pushing and viewing files

See merge request gitlab-org/gitlab-ce!21911
2018-10-18 09:46:27 +00:00
Rémy Coutable 105a8c177f
[QA] Fix the 'clone using deploy key' tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-18 10:00:42 +02:00
Mark Lapierre c57ac00006 Add support for pushing and viewing files
The MR below adds a test for the code owners feature. This adds the
part of those changes specific to CE - the ability to add and view
files in a project.

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7368
2018-10-17 15:18:22 -04:00
Rémy Coutable b6f2f738c7 First iteration to allow creating QA resources using the API 2018-10-17 18:08:20 +00:00
Aleksandr Soborov a68b6315f1 Extend Create New Merge Request test to also add a label 2018-10-17 12:17:32 +00:00
Winnie Hellmann b01dacffff Replace job with group in frontend components to be consistent with backend 2018-10-17 11:11:52 +00:00
Nick Thomas aeaf6686df Merge branch 'qa-handle-sign-up-with-terms' into 'master'
[QA] Handle sign-up when terms must be accepted

See merge request gitlab-org/gitlab-ce!22374
2018-10-16 15:47:32 +00:00
Rémy Coutable e11ff3b6bc Merge branch 'ashmckenzie/7516-update-qa-docker-image' into 'master'
Update git and install git-lfs QA docker image

See merge request gitlab-org/gitlab-ce!22355
2018-10-16 12:44:49 +00:00