summaryrefslogtreecommitdiff
path: root/qa
Commit message (Collapse)AuthorAgeFilesLines
* Port changes from EE branch qa-saml-group-git-http-access-testqa-saml-group-git-http-access-test-ceSanad Liaquat2019-06-122-1/+9
|
* DRY exception handlingqa-ml-dry-retry-on-exceptionMark Lapierre2019-06-111-9/+2
| | | | Use `retry_on_exception` instead of duplicating code
* Merge branch 'qa-ml-visit-after-wait-for-push' into 'master'Mark Lapierre2019-06-071-1/+1
|\ | | | | | | | | | | | | Visit project after push Closes gitlab-org/quality/nightly#105 See merge request gitlab-org/gitlab-ce!29247
| * Visit project after pushqa-ml-visit-after-wait-for-pushMark Lapierre2019-06-061-1/+1
| | | | | | | | | | Waits for the push to a project before visiting the page so that the updated state is shown when the page loads
* | Replace upgrade with updateEnrique Alcántara2019-06-061-2/+2
| | | | | | | | | | | | Use update term instead of update in the clusters managed app implementation in order to make the implementation and UI language more consistent.
* | Retry the first login page validationMark Lapierre2019-06-061-0/+9
|/ | | | | | It can take longer that 60 seconds for the server to be ready to respond. Retry the login page validation twice (i.e., 3 attempts to validate the login page)
* Fix Web IDE add template testMark Lapierre2019-06-059-30/+73
| | | | | | | | | Wait for the new file modal to stop animating before clicking it We now need to click the commit button 3 times: 1. To enter commit mode 2. To being staging changes 3. To submit the commit
* Merge branch 'qa-de-quarantine-e2e-test' into 'master'Rémy Coutable2019-06-041-4/+3
|\ | | | | | | | | | | | | De-quarantine e2e test for issue suggestions Closes gitlab-org/quality/staging#53 See merge request gitlab-org/gitlab-ce!29046
| * Update e2e test with more explicit methodsqa-de-quarantine-e2e-testWalmyr Lima2019-06-031-2/+2
| | | | | | | | This goes in accordance with https://bit.ly/2Z1RdjZ
| * De-quarantine e2e test for issue suggestionsWalmyr Lima2019-06-031-2/+1
| | | | | | | | | | | | | | According to https://bit.ly/2JTPCcF Now that https://gitlab.com/gitlab-org/gitlab-ce/issues/60355 is closed we can de-quarantine this test.
* | Merge branch 'qa-log-out-in-after-all-hook' into 'master'Dan Davison2019-06-031-0/+2
|\ \ | | | | | | | | | | | | Log out in after all hook See merge request gitlab-org/gitlab-ce!28969
| * | Log out in after all hookqa-log-out-in-after-all-hookMark Lapierre2019-05-311-0/+2
| | | | | | | | | | | | So subsequent tests can successfully log in
* | | Generate knapsack report for review-qa-allMark Lapierre2019-06-037-1/+97
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add knapsack qa report and use it to run tests in parallel Use the RSpec runner with knapsack The way the Knapsack runner uses exec to start rspec seems incompatible with the way we expect it to work. Plus, it requires specifying KNAPSACK_TEST_DIR. Instead, we use knapsacks AllocatorBuilder to select the spec files to run, and then start rspec as normal, via RSpec::Core::Runner.run This also means we can incorporate tags. Let the job run automatically Include KNAPSACK_TEST_FILE_PATTERN in vars Check all defined knapsack env vars before requiring knapsack
* | Merge branch 'docs-qa-doc-consolidation' into 'master'Dan Davison2019-05-316-1249/+6
|\ \ | | | | | | | | | | | | Consolidate documentation written for e2e tests under dev docs See merge request gitlab-org/gitlab-ce!28572
| * | Consolidate documentation written for e2e tests under dev docsddavison2019-05-306-1249/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | Previously the documentation was separated. If we want to bake quality into the product, how better than to include everything we use directly in the development documentation Signed-off-by: ddavison <ddavison@gitlab.com> Fix broken internal doc link Move documentation for page objects to the e2e section
* | Merge branch 'faster_qa_auto_devops' into 'master'Dan Davison2019-05-311-0/+9
|\ \ | | | | | | | | | | | | Use Dockerfile flow for QA Auto DevOps See merge request gitlab-org/gitlab-ce!28648
| * | Use Dockerfile flow for QA Auto DevOpsfaster_qa_auto_devopsThong Kuah2019-05-311-0/+9
| |/ | | | | | | | | | | | | | | | | This results in 40MB images vs 400MB images which is faster to upload and download. This does mean we lose the default herokuish QA coverage but we should have adequate coverage in https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/ now. Triva: herokuish is bigger because it's base image is based on `ubuntu`.
* | Allow login validation before blockqa-fix-api-client-login-validationMark Lapierre2019-05-311-6/+3
|/ | | | | | Removes a block so that the login page is validated before the block, while the login page is still present, instead of after it when the login page is long gone
* Merge branch 'qa-reload-to-check-branches-deleted' into 'master'Ramya Authappan2019-05-302-4/+6
|\ | | | | | | | | [QA] Reload page to check if branch is deleted See merge request gitlab-org/gitlab-ce!28583
| * Reload page to check if branch is deletedqa-reload-to-check-branches-deletedMark Lapierre2019-05-242-4/+6
| | | | | | | | | | | | | | | | | | When the "Delete merged branches" button is used the UI doesn't update automatically. So when the page is refreshed it's possible that the branch will still be present. This checks for the branch to be gone and reloads if it is not, repeating until the default timeout (60s).
* | Lots of adjustments in the writing tests docWalmyr2019-05-302-162/+262
| |
* | Merge branch 'qa-public-class-methods' into 'master'Mark Lapierre2019-05-301-32/+32
|\ \ | | | | | | | | | | | | Move public class methods out of private See merge request gitlab-org/gitlab-ce!28768
| * | Move public class methods out of privateqa-public-class-methodsThong Kuah2019-05-271-32/+32
| |/ | | | | | | | | | | private modifier by itself does nothing for class methods (need `private_class_method` for that). As these are documented to be public methods in README, move them to the top.
* | Merge branch 'qa-ml-fix-view-commit-patch-test' into 'master'Mark Lapierre2019-05-303-16/+43
|\ \ | | | | | | | | | | | | | | | | | | Fabricate a file via the API Closes gitlab-org/quality/nightly#42 See merge request gitlab-org/gitlab-ce!28770
| * | Add file via browser when testing the UIMark Lapierre2019-05-271-1/+1
| | | | | | | | | | | | | | | | | | Now that it's possible to add a file via the API we need to make sure the UI test uses the browser UI fabrication, not the API.
| * | Fabricate a file via the APIMark Lapierre2019-05-272-15/+42
| |/
* | Merge branch 'qa-unquarantine-auto-devops' into 'master'Dan Davison2019-05-281-2/+1
|\ \ | | | | | | | | | | | | | | | | | | Un-quarantine Auto DevOps QA test Closes gitlab-org/quality/nightly#81 See merge request gitlab-org/gitlab-ce!28765
| * | Un-quarantine Auto DevOps QA testun-quarantine-qa-auto-devopsqa-unquarantine-auto-devopsThong Kuah2019-05-271-2/+1
| |/
* | Merge branch 'doc-qa-doc-element-guidelines' into 'master'Lin Jen-Shin2019-05-285-52/+103
|\ \ | | | | | | | | | | | | Add documentation for element naming conventions See merge request gitlab-org/gitlab-ce!28563
| * | Iteration for _field being the well-formed elementddavison2019-05-281-8/+7
| | | | | | | | | | | | | | | Since number fields, text boxes, text areas are editable lets use _field as the vague descriptor
| * | Add documentation for element naming conventionsddavison2019-05-285-52/+104
| | | | | | | | | | | | | | | | | | Refactor all capital files to lowercase Signed-off-by: ddavison <ddavison@gitlab.com>
* | | Merge branch 'qa-extend-click-visit-actions' into 'master'Dan Davison2019-05-2812-38/+122
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Implement dynamic validation on QA Pages Closes gitlab-qa#280 See merge request gitlab-org/gitlab-ce!25704
| * | Remove blocks from Runtime::Browser.visit calls within Mattermost testsqa-extend-click-visit-actionsddavison2019-05-201-8/+6
| | | | | | | | | | | | | | | | | | Use .perform instead of .act in Mattermost test Signed-off-by: ddavison <ddavison@gitlab.com>
| * | Up wait time to 60 seconds as before for LoginPageddavison2019-05-201-1/+1
| | |
| * | Implement dynamic validation on QA Pagesddavison2019-05-2011-30/+116
| | | | | | | | | | | | | | | | | | 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 support for toggling masked on UIexplicit_masked_qaThong Kuah2019-05-272-2/+24
| | | | | | | | | | | | | | | | | | In addition to API, add support for toggling mased on UI too. (Though fabricate_via_browser_ui is private)
* | | Be explicit about setting :maskedThong Kuah2019-05-274-2/+7
| |/ |/| | | | | | | | | Only some values can be masked. Currently API defaults :masked to false and browser defaults :masked to true - resolve this ambiguity by requiring QA to be explicit about which value it requires for :masked.
* | Apply suggestion to qa/docs/WRITING_TESTS_FROM_SCRATCH.mddocs/improve-writing-tests-docWalmyr2019-05-231-1/+1
| |
* | Apply suggestion to qa/docs/WRITING_TESTS_FROM_SCRATCH.mdWalmyr2019-05-231-1/+1
| |
* | Improve doc based on Zeff's suggestionsWalmyr Lima2019-05-231-3/+3
| | | | | | | | The suggestions were made while we were pair programming.
* | Merge branch 'docs/minor-improvement-on-resources-doc' into 'master'Rémy Coutable2019-05-221-1/+1
|\ \ | | | | | | | | | | | | Minor improvement on resources doc See merge request gitlab-org/gitlab-ce!28589
| * | Minor improvement on resources docWalmyr Lima2019-05-221-1/+1
| | |
* | | Update writing e2e tests docWalmyr2019-05-221-3/+105
|/ / | | | | | | | | | | This is a second iteration to address the Resources section. In a third iteration the Page Object section will be addressed.
* | Merge branch 'qa-contain-chrome-vars' into 'master'Mark Lapierre2019-05-221-3/+3
|\ \ | | | | | | | | | | | | Move Chrome variables under conditional See merge request gitlab-org/gitlab-ce!28505
| * | Move Chrome variables under conditionalqa-contain-chrome-varsddavison2019-05-201-3/+3
| |/ | | | | | | Dont specify disable-dev-shm-usage for non-chrome browsers
* | Merge branch 'qa-quarantine-object-storage-test' into 'master'Mark Lapierre2019-05-211-1/+2
|\ \ | | | | | | | | | | | | Quarantine failing test See merge request gitlab-org/gitlab-ce!28517
| * | Quarantine failing testqa-quarantine-object-storage-testMark Lapierre2019-05-211-1/+2
| | |
* | | Merge branch 'dd-qa-api-delegation-project-cicd-vars' into 'master'Sanad Liaquat2019-05-213-2/+40
|\ \ \ | |_|/ |/| | | | | | | | Delegate CiVariable fabrication to API See merge request gitlab-org/gitlab-ce!27924
| * | Don't fabricate a default project for the CI/CD testdd-qa-api-delegation-project-cicd-varsddavison2019-05-071-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Convert 'user adds a CI variable' to a :smoke test Adjust support for API and UI fabrication Signed-off-by: ddavison <ddavison@gitlab.com>
| * | Delegate CiVariable delegation to APIddavison2019-05-062-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of Resource::CiVariable fabricating via the browser_ui, let's delegate to the API instead. (will shave off roughly 3-4s every use) Override resource_web_url to catch ResourceURLMissingError as there is no "show" action for a CI/CD var Signed-off-by: ddavison <ddavison@gitlab.com>