Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa/spec
AgeCommit message (Collapse)Author
2019-06-18Test push limit with admin userMark Lapierre
Uses `:requires_admin` metadata to specify that a test needs an admin user. Sets the push file size limit test to require an admin user. With an admin access token set as the env var GITLAB_QA_ADMIN_ACCESS_TOKEN, the push size limit test now only uses the API and CLI
2019-06-14Backport of EE changes from MR 13763Walmyr
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13763
2019-06-05Fix Web IDE add template testMark Lapierre
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
2019-06-03Generate knapsack report for review-qa-allMark Lapierre
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
2019-05-20Implement dynamic validation on QA Pagesddavison
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
2019-05-20Only retry failing QA tests in CIMark Lapierre
No need to retry automatically when running tests locally
2019-05-13Merge branch 'qa-ml-fix-branches-test' into 'master'Sanad Liaquat
Fix E2E test - wait for branches to not be present See merge request gitlab-org/gitlab-ce!27805
2019-05-07Add branch_name qa selectorMark Lapierre
Uses the branch_name element to find a branch with a specific name, instead of using a dynamic CSS class that can't be validated by the sanity selector test
2019-05-06Swap brackets to avoid false positiveMark Lapierre
2019-05-06Escape arg used in regexMark Lapierre
2019-04-15Merge branch 'frozen_string_literal_qa' into 'master'Sanad Liaquat
Add frozen_string_literal to qa/ See merge request gitlab-org/gitlab-ce!27266
2019-04-12Add frozen_string_literal to qa/Thong Kuah
This will be default in Ruby 3, so will be good to apply in QA ahead of time to be consistent.
2019-04-12Enable RSpec/ExampleWording copThong Kuah
2019-04-09Reduce number of rspec retriesSanad Liaquat
In both e2e QA tests and unit tests, reduce the number of retires to 2 (i.e., 1 initial and one retry)
2019-03-28Allow token env var from gitlab-qaMark Lapierre
gitlab-qa accepts an env var named GITLAB_QA_ACCESS_TOKEN, but here we only accepted PERSONAL_ACCESS_TOKEN. This change replaces PERSONAL_ACCESS_TOKEN with GITLAB_QA_ACCESS_TOKEN
2019-03-27Set feature flag via command lineMark Lapierre
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)
2019-03-11Skip contexts in quarantineMark Lapierre
This avoids running before/after blocks for tests that are in quarantine
2019-02-28[QA] Fail early if a Git command failsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-25Update GitHub Import testSanad Liaquat
Removes the unnecessary :orchestrated tag and updates a few selectors. Also wait_for_success for import before proceeding. The test is currently placed in quarantine because of a bug.
2019-02-19Retry failed tests with rspec-retrySanad Liaquat
Does not retry if tagged :quarantine. Also adds unit tests.
2019-02-14Move server responding check to scenario before hookMark Lapierre
This checks that the server is responding before any other actions, including before trying to add a license.
2019-02-14Skip contexts in quarantineMark Lapierre
This avoids running before/after blocks for tests that are in quarantine
2019-02-11[CE] Improve `wait_for_push`Mark Lapierre
2019-02-07Load login page only if gitlab_address is definedSanad Liaquat
2019-02-07Wait for login page to load at the beginning of QA suiteSanad Liaquat
2019-02-01Add e2e QA test for logging in using GitHub OAuthSanad Liaquat
Adds the test itself and the vendor page object model for GitHub login pages.
2019-01-31Merge branch 'qa-ml-improve-git-repo-auth' into 'master'Rémy Coutable
Add git credentials to .netrc when needed Closes gitlab-org/quality/nightly#57 and #56857 See merge request gitlab-org/gitlab-ce!24691
2019-01-30Don't use .netrc with SSHMark Lapierre
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.
2019-01-29Re-enable MethodCallWithoutArgsParentheses CopAndrew Newdigate
Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
2019-01-28Add git credentials to .netrc when neededMark Lapierre
Avoid having to remember to call try_add_credentials_to_netrc after setting credentials.
2019-01-25Fix failing E2E testMark Lapierre
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
2019-01-23[QA] Use public_email instead of email since it's availableRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-15Fix Resource attribute bugMark Lapierre
Allow Resources to have the same attribute name but different attribute values
2019-01-10[QA] Retrieve the current user name and emailRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-09Add specs to remote grid. Raise errors for #remote_grid_credentialsddavison
Signed-off-by: ddavison <ddavison@gitlab.com>
2019-01-08Quarantine spec code review changesMark Lapierre
- 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
2019-01-08Skip quarantined tests via filtersMark Lapierre
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.
2019-01-08Revert "Allow tests to be quarantined"Mark Lapierre
This reverts commit 8ef418d57c5a9511b862bf0711aadbb977086c91.
2019-01-08Allow tests to be quarantinedMark Lapierre
Exclude quarantined tests by default.
2019-01-07Wait for Web IDE commit animationMark Lapierre
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.
2018-12-28Log text_filter arg of find_elementMark Lapierre
2018-12-20Backport page object changes from EEMark Lapierre
Add new page object methods from EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8937
2018-11-08Merge branch 'ml-qa-git-protocol-v2-spec' into 'master'Nick Thomas
Add e2e test of push over SSH using Git protocol v2 See merge request gitlab-org/gitlab-ce!22548
2018-11-07Add e2e test of push over SSH over Git protocol v2Mark Lapierre
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-05Rename QA::Factory to QA::ResourceLin Jen-Shin
* Factory::Base -> Resource::Base, and therefore: * Factory::Resource::Project -> Resource::Project
2018-11-05Merge branch 'ml-create-user-via-api-qa' into 'master'Grzegorz Bizon
Create users via the API See merge request gitlab-org/gitlab-ce!22779
2018-11-02Create users via the APIMark Lapierre
Allows users to be fetched/created via the API.
2018-11-02Don't log fabricate argsMark Lapierre
Prevents logging of sensitive data
2018-10-31CE: Absorb product into factoryLin Jen-Shin
2018-10-26Merge branch 'qa-59-ldap-ssl-scenario' into 'master'Stan Hu
E2E Test - LDAP login with SSL Closes gitlab-qa#59 See merge request gitlab-org/gitlab-ce!22574