summaryrefslogtreecommitdiff
path: root/qa/qa.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add QA specs for using IP rate limitssh-rate-limits-qaStan Hu2019-08-261-0/+2
| | | | | This will help prevent issues such as https://gitlab.com/gitlab-org/gitlab-ce/issues/66449.
* Extract gcloud and minikube cluster providerPeter Leitzen2019-08-261-0/+7
| | | | Add cluster provider k3d
* Support X_if_ee methods for QA testsYorick Peterse2019-08-191-0/+3
| | | | | For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
* Revert "Merge branch 'backport-fix-remaining-prepend-lines' into 'master'"Mark Lapierre2019-08-051-3/+0
| | | This reverts merge request !31379
* Support X_if_ee methods for QA testsbackport-fix-remaining-prepend-linesYorick Peterse2019-08-011-0/+3
| | | | | For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
* Getting on par with EETomislav Nikic2019-07-301-0/+4
| | | | | | This commit covers all the files that where changed in the identically named branch on EE that is creating an elasticsearch test case.
* Run tests in parallel via parallel_testsMark Lapierre2019-07-091-0/+1
| | | | | | | | | | | | | Uses the parallel_tests gem to execute tests in multiple processes simultaneously on the same machine. Adds the `--parallel` CLI option that instructs the QA framework to use the parallel_tests executable. Tests need access to global state contained in `Runtime::Scenario` so when `--parallel` is invoked `Runtime::Scenario` is serialized to an environment variable, which is passed to parallel_tests, and then deserialized in `spec_helper`.
* QA: transfer project specJennifer Louie2019-07-021-0/+5
|
* Implement dynamic validation on QA Pagesddavison2019-05-201-0/+1
| | | | | | Elements now have the ability to be required on pages or not Currently using the default wait mechanism Altered the ElementWithPattern Cop to fit new splat for init
* Add QA tests for the performance bar60356-add-qa-tests-for-the-performance-barSean McGivern2019-04-161-0/+3
| | | | | | | | These are very high-level. Currently, they test: 1. That the performance bar appears. 2. That it has detailed metrics for Postgres and Gitaly. 3. That AJAX requests are included in the request selector.
* Set feature flag via command lineMark Lapierre2019-03-271-0/+2
| | | | | | | | | | | First attempt at allowing a feature flag to be set via the command line when running tests. This will enable the flag, run the tests, and then disable the flag. Using OptionParser meant changing how scenarios get the instance address, so this also allows the address to be set as a command line option. It's backwards compatible (you can still provide the address as the command line option after the scenario)
* Add a new test to create a snippetRoman Verevkin2019-03-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | Add "smoke" tag to the test Fix links to views in Page Object files Review fixes Remove useless view block Implement Snippets::Show page object class Fix review suggestions Fix review suggestions 2 Fix test with empty snippets state Remove useless css class Fix issues
* Skip contexts in quarantineMark Lapierre2019-03-111-0/+4
| | | | This avoids running before/after blocks for tests that are in quarantine
* Add smoke test for autodevopsddavison2019-02-211-0/+4
| | | | Add tag validation on pipeline page
* Refactor select_*_filter methodsSanad Liaquat2019-02-191-0/+1
| | | | | Also use refactor retry_on_excpetion and use it in select_*_filter methods
* [CE] Improve `wait_for_push`Mark Lapierre2019-02-111-0/+6
|
* adding a spec for issues/310Mesut Güneş2019-02-011-0/+2
|
* Add e2e QA test for logging in using GitHub OAuthSanad Liaquat2019-02-011-0/+8
| | | | | Adds the test itself and the vendor page object model for GitHub login pages.
* Fix flaky wiki create testMark Lapierre2019-01-291-0/+1
| | | | | | | | | | | | | | | | There's an svg on the page that allows you to create a wiki page. The svg takes a fraction of a second to load after which the "Create your first page" button shifts up a bit. This can cause webdriver to miss the hit so we wait for the svg to load before clicking the button. Also update the elements used in the test to conform to our best practice. And replace `act` with `perform` Finally, remove the `before` block and `login` method, making the code slightly simpler.
* Split `Page::Project::Menu` into separate submenusWalmyr Filho2019-01-241-0/+4
| | | | https://gitlab.com/gitlab-org/quality/team-tasks/issues/84
* Add test case to check that branches are correctly listed after CRUD operationsWalmyr2019-01-161-0/+9
|
* Collapsible Comments Test for IssuesRamya Authappan2019-01-031-0/+1
|
* Add tests for plain diff/email patch optionsZeff Morgan2018-12-111-0/+4
| | | | | | | | | | | | | | | | Add spec file using before(:context) to reduce test time. With testing almost identical things, unnecessary to make them completely atomic. Includes two helper methods. Since the raw_content method is the only function needed on that page, created the method in the spec instead of adding another page object. Setup new project/commit page object and update project/show to add go_to_commit method. The go_to_commit method is near duplicate of go_to_file method, but decided to split them off to reduce overall refactoring and simplify language. Also add selectors to commit box partial and update qa.rb to load new page object.
* Update E2E tests for Project overview UI changesMark Lapierre2018-12-101-0/+1
| | | | Includes updates to how clone URLs are accessed.
* Add e2e test: push mirroring over HTTPMark Lapierre2018-12-051-0/+1
| | | | | | Adds an end-to-end test of push mirroring a repository over HTTP. Includes addition of QA selectors to views
* Port ee changesSanad Liaquat2018-11-261-0/+1
|
* Rename QA::Factory to QA::Resource53224-rename-to-resource-base-qaLin Jen-Shin2018-11-051-31/+29
| | | | | * Factory::Base -> Resource::Base, and therefore: * Factory::Resource::Project -> Resource::Project
* CE: Absorb product into factoryLin Jen-Shin2018-10-311-1/+0
|
* Renaming Secret Variables in the codebaseMarcel Amirault2018-10-301-2/+2
|
* Merge branch 'qa-59-ldap-ssl-scenario' into 'master'Stan Hu2018-10-261-1/+2
|\ | | | | | | | | | | | | 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-2/+2
| |
| * Renamed to ldap_no_ssl and ldap_sslSanad Liaquat2018-10-241-1/+1
| |
| * Added ldap_ssl tag to existing testSanad Liaquat2018-10-241-0/+1
| |
* | Always use `attribute` to define the productLin Jen-Shin2018-10-251-1/+0
|/
* Log page actionsml-qa-loggingMark Lapierre2018-10-191-0/+9
| | | | | | | | | | | | | | | 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.
* First iteration to allow creating QA resources using the APIRémy Coutable2018-10-171-0/+1
|
* Extend Create New Merge Request test to also add a labelAleksandr Soborov2018-10-171-0/+6
|
* Add GitLab QA spec for adding a deploy tokenStan Hu2018-10-121-0/+2
|
* Merge branch 'qa-257-instance-wide-saml-sso' into 'master'Rémy Coutable2018-10-111-0/+13
|\ | | | | | | | | | | | | Instance SAML SSO e2e test Closes gitlab-qa#257 See merge request gitlab-org/gitlab-ce!22271
| * Initial commitSanad Liaquat2018-10-111-0/+13
| | | | | | | | | | | | | | | | | | | | Use ACCEPT_INSECURE_CERTS env var and fix step Simplify saml signin Fix rubo cop offence Add missing # frozen_string_literal: true
* | Add test to add a new project memberMark Lapierre2018-10-101-0/+2
|/ | | | Adds a new QA test and the required page objects and related changes
* Merge branch 'ml-qa-add-file-templates' into 'master'Sean McGivern2018-10-101-0/+8
|\ | | | | | | | | Add test of adding file templates via Web IDE and Files view See merge request gitlab-org/gitlab-ce!21914
| * Add tests of adding file templatesMark Lapierre2018-10-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Adds tests that adds new files via file templates via the Files view and the Web IDE. Includes changes to page objects and associated code Fetches template content from the API rather than hardcoding strings that will need to be updated if the templates change. Some of the content is stored as flat files but we can't use them because they're not included in the docker images gitlab-qa uses.
* | Merge branch 'qa-60-reorganize-menu-classes' into 'master'Rémy Coutable2018-10-091-7/+5
|\ \ | | | | | | | | | | | | | | | | | | Reorganize menu files Closes gitlab-org/quality/team-tasks#60 See merge request gitlab-org/gitlab-ce!22115
| * | Reorganize menu filesqa-60-reorganize-menu-classes-squash-trysliaquat2018-10-091-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missed files Use correct method Implement review feedback Add missing frozen_string_literal Squash 5 commits
* | | Merge branch 'qa-304-auto-devops-open-live-environment' into 'master'Rémy Coutable2018-10-091-0/+5
|\ \ \ | |_|/ |/| | | | | | | | Assert prod environment is live after Auto Devops See merge request gitlab-org/gitlab-ce!22131
| * | Assert prod environment is live after Auto DevopsThong Kuah2018-10-081-0/+5
| |/ | | | | | | | | Goes to Operations > Environments and clicks on the "View deployment" link for production.
* | Adding qa-selectors for e2e testsRamya Authappan2018-10-051-0/+3
|/
* [QA] Improve admin hashed-storage settingsRémy Coutable2018-10-021-2/+5
| | | | | | | | | | 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>
* Merge branch 'ml-qa-spec-use-ssh-key' into 'master'Robert Speicher2018-09-171-0/+2
|\ | | | | | | | | Add a new scenario to add an SSH key, perform Git actions with it, and then remove the key See merge request gitlab-org/gitlab-ce!19754