summaryrefslogtreecommitdiff
path: root/qa/spec
Commit message (Collapse)AuthorAgeFilesLines
* Add e2e QA test for logging in using GitHub OAuthSanad Liaquat2019-02-011-0/+9
| | | | | Adds the test itself and the vendor page object model for GitHub login pages.
* Merge branch 'qa-ml-improve-git-repo-auth' into 'master'Rémy Coutable2019-01-311-42/+92
|\ | | | | | | | | | | | | Add git credentials to .netrc when needed Closes gitlab-org/quality/nightly#57 and #56857 See merge request gitlab-org/gitlab-ce!24691
| * Don't use .netrc with SSHMark Lapierre2019-01-301-11/+0
| | | | | | | | | | | | There was a bug that required credentials when using SSH key auth when using LFS. That bug was fixed so we shouldn't need to add credentials to .netrc when using SSH anymore.
| * Add git credentials to .netrc when neededMark Lapierre2019-01-281-42/+103
| | | | | | | | | | Avoid having to remember to call try_add_credentials_to_netrc after setting credentials.
* | Re-enable MethodCallWithoutArgsParentheses CopAndrew Newdigate2019-01-292-2/+2
|/ | | | | Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
* Fix failing E2E testMark Lapierre2019-01-251-1/+9
| | | | | | | | | | | | Sometimes add_list_delete_branches_spec.rb would not wait after deleting a branch before checking that the branch was done. It would fail when the UI was still processing. This checks that the loading icon is gone before returning from delete_branch. It also makes sure credentials are added properly after recent changes to QA::Git::Repository
* [QA] Use public_email instead of email since it's availableRémy Coutable2019-01-231-0/+118
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix Resource attribute bugMark Lapierre2019-01-151-0/+36
| | | | | Allow Resources to have the same attribute name but different attribute values
* [QA] Retrieve the current user name and emailRémy Coutable2019-01-101-4/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add specs to remote grid. Raise errors for #remote_grid_credentialsddavison2019-01-091-0/+59
| | | | Signed-off-by: ddavison <ddavison@gitlab.com>
* Quarantine spec code review changesMark Lapierre2019-01-082-20/+19
| | | | | | | - Clarify message shown when skipping quarantined tests because they don't have all the specified tags. - Simplify rejecting item from array - Remove 'pass' from example descriptions to avoid confusion
* Skip quarantined tests via filtersMark Lapierre2019-01-082-0/+299
| | | | | | | | Instead of modifying the runner, use config hooks to skip quarantined tests, and to allow only quarantined tests to be run, if desired. This way quarantined tests are skipped, not excluded completely, so they are still included in test results.
* Revert "Allow tests to be quarantined"Mark Lapierre2019-01-081-77/+14
| | | | This reverts commit 8ef418d57c5a9511b862bf0711aadbb977086c91.
* Allow tests to be quarantinedMark Lapierre2019-01-081-14/+77
| | | | Exclude quarantined tests by default.
* Wait for Web IDE commit animationMark Lapierre2019-01-071-0/+14
| | | | | | | | Wait for the "Commit..." button to disappear and the "Stage & Commit" button to appear before clicking the latter button. The animation that is shown while changing the buttons must complete before clicking "Stage & Commit" will have any effect _even if_ the button is visible before the animation is complete.
* Log text_filter arg of find_elementMark Lapierre2018-12-281-0/+9
|
* Backport page object changes from EEMark Lapierre2018-12-201-0/+7
| | | | | Add new page object methods from EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8937
* Merge branch 'ml-qa-git-protocol-v2-spec' into 'master'Nick Thomas2018-11-083-11/+80
|\ | | | | | | | | Add e2e test of push over SSH using Git protocol v2 See merge request gitlab-org/gitlab-ce!22548
| * Add e2e test of push over SSH over Git protocol v2ml-qa-git-protocol-v2-specMark Lapierre2018-11-073-11/+80
| | | | | | | | | | | | | | | | 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?
* | Rename QA::Factory to QA::Resource53224-rename-to-resource-base-qaLin Jen-Shin2018-11-054-77/+77
| | | | | | | | | | * Factory::Base -> Resource::Base, and therefore: * Factory::Resource::Project -> Resource::Project
* | Merge branch 'ml-create-user-via-api-qa' into 'master'Grzegorz Bizon2018-11-051-0/+36
|\ \ | | | | | | | | | | | | Create users via the API See merge request gitlab-org/gitlab-ce!22779
| * | Create users via the APIml-create-user-via-api-qaMark Lapierre2018-11-021-0/+36
| | | | | | | | | | | | Allows users to be fetched/created via the API.
* | | Don't log fabricate argsMark Lapierre2018-11-021-3/+3
|/ / | | | | | | Prevents logging of sensitive data
* | CE: Absorb product into factoryLin Jen-Shin2018-10-312-58/+27
|/
* Merge branch 'qa-59-ldap-ssl-scenario' into 'master'Stan Hu2018-10-261-2/+10
|\ | | | | | | | | | | | | E2E Test - LDAP login with SSL Closes gitlab-qa#59 See merge request gitlab-org/gitlab-ce!22574
| * Rename SSL to TLSSanad Liaquat2018-10-251-4/+4
| |
| * Renamed to ldap_no_ssl and ldap_sslSanad Liaquat2018-10-241-2/+10
| |
* | Merge branch 'ml-qa-repo-logging' into 'master'Robert Speicher2018-10-252-0/+12
|\ \ | | | | | | | | | | | | Re-enable debug logging of Git commands and output See merge request gitlab-org/gitlab-ce!22608
| * | Re-enable debug logging of Git commands and outputml-qa-repo-loggingMark Lapierre2018-10-252-0/+12
| |/
* | Always use `attribute` to define the productLin Jen-Shin2018-10-253-179/+109
|/
* Merge branch 'qa-backport-recent-ee-changes' into 'master'Douglas Barbosa Alexandre2018-10-221-8/+7
|\ | | | | | | | | [QA] Port recent changes from EE See merge request gitlab-org/gitlab-ce!22391
| * [QA] Port recent changes from EEqa-backport-recent-ee-changesRémy Coutable2018-10-221-8/+7
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Log page actionsml-qa-loggingMark Lapierre2018-10-195-10/+145
|/ | | | | | | | | | | | | | | 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.
* Merge branch 'ml-qa-code-owners' into 'master'Rémy Coutable2018-10-181-0/+26
|\ | | | | | | | | QA: Add support for pushing and viewing files See merge request gitlab-org/gitlab-ce!21911
| * Add support for pushing and viewing filesMark Lapierre2018-10-171-0/+26
| | | | | | | | | | | | | | | | 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
* | First iteration to allow creating QA resources using the APIRémy Coutable2018-10-178-85/+416
|/
* Disable the QA/ElementWithPattern cop for existing offensesRémy Coutable2018-10-152-5/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Initial commitSanad Liaquat2018-10-111-0/+9
| | | | | | | | | | Use ACCEPT_INSECURE_CERTS env var and fix step Simplify saml signin Fix rubo cop offence Add missing # frozen_string_literal: true
* Allow the registration e2e test to be skippedMark Lapierre2018-10-082-16/+38
| | | | | | | If SIGNUP_DISABLED is true skip any tests with a context :skip_signup_disabled. The context is set for the registration tests. This allows the tests to be skipped when run on the staging, which doesn't allow registration
* [QA] Improve admin hashed-storage settingsRémy Coutable2018-10-021-1/+1
| | | | | | | | | | This was introduced by https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7371 for which no QA was run, even though QA files were changed. This is a follow-up to https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7531. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable signing in as admin when adding a licenseMark Lapierre2018-09-101-21/+0
| | | | | | | | Adds the ability to use admin credentials to add a license so that when testing an LDAP user on EE the LDAP user does not have to be an admin. Admin credentials default to GDK's root user. Can be overriden via ADMIN_USERNAME and ADMIN_PASSWORD environment variables.
* Merge branch 'qa-fix-specs-runner-when-args-given' into 'master'Rémy Coutable2018-09-101-19/+41
|\ | | | | | | | | [QA] Fix arguments passed to RSpec::Core::Runner See merge request gitlab-org/gitlab-ce!21578
| * [QA] Fix arguments passed to RSpec::Core::RunnerRémy Coutable2018-09-071-19/+41
| | | | | | | | | | | | | | - When -t or --tag are passed, we shouldn't exclude the :orchestrated tag - When test path is passed, we shouldn't append the default test path Signed-off-by: Rémy Coutable <remy@rymai.me>
* | [QA] Change Test::Sanity::Failing to Test::Sanity::FrameworkRémy Coutable2018-09-061-0/+5
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [QA] Fix Specs::Runner that would always excluding the orchectsrated tagRémy Coutable2018-09-0410-86/+168
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Allow to pass --tag to bin/qa runRémy Coutable2018-08-283-2/+12
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'qa-staging-2' into 'master'Grzegorz Bizon2018-08-211-0/+25
|\ | | | | | | | | | | | | [QA] Improve the fork scenario to take a username and password instead of always… Closes gitlab-org/quality/staging#2 See merge request gitlab-org/gitlab-ce!21090
| * [QA] Improve the fork scenario to take a username and password instead of ↵qa-staging-2Rémy Coutable2018-08-201-0/+25
| | | | | | | | | | | | | | | | always creating a new user Fixes https://gitlab.com/gitlab-org/quality/staging/issues/2. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | fix broken pathing (remove extraneous ../)Dan Davison2018-08-212-2/+2
| |
* | add initial smoke tests and documentationDan Davison2018-08-202-10/+49
|/