Commit Graph

1090 Commits

Author SHA1 Message Date
Rémy Coutable 305260df06 Merge branch 'qa/e2e-test-custom-email' into 'master'
Update views for testability and update page objects

See merge request gitlab-org/gitlab-ce!32451
2019-09-02 11:32:09 +00:00
Jennifer Louie aedcedd0f5 Add EE methods to Project Show page object 2019-08-31 11:36:33 +00:00
Walmyr Lima 20b45b8ce1 Improve tests speed
Before this change, by default the expand button would only be
clicked after 10 seconds, but now it will only wait for 1 sec.
2019-08-30 19:00:30 +02:00
Walmyr Lima 5d5ba9fc7c Update page object with new element and method 2019-08-30 19:00:30 +02:00
Walmyr Lima 6c0d1534c1 Increase window size during e2e tests 2019-08-30 16:48:00 +02:00
Dan Davison 739ecdb664 Merge branch 'ce-backport-of-ml-web-terminal-spec-qa' into 'master'
Backport changes from EE MR 8186

See merge request gitlab-org/gitlab-ce!31707
2019-08-29 23:46:47 +00:00
Rémy Coutable 92c15ec2b7 Merge branch 'resolve-new-qa-differences' into 'master'
Fix CE to EE differences in the qa/ directory

See merge request gitlab-org/gitlab-ce!32354
2019-08-29 16:54:09 +00:00
Yorick Peterse e84398ba64
Backport EE changes to the qa/ directory
Now that the qa/ directory uses the X_if_ee methods we can backport all
these lines to CE.
2019-08-29 14:56:40 +02:00
Nailia Iskhakova 8a5aa52813 Add E2E spec to ensure that issue closes
Add E2E spec to test that issue closes with commit message
2019-08-29 09:30:04 +00:00
Mark Lapierre 7a2bc31e38 Backport changes from EE
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8186
2019-08-29 13:07:43 +10:00
Dan Davison 7225162f30 Merge branch 'qa-ml-web-ide-commit-to-current-branch' into 'master'
Commit to current branch by default in Web IDE E2E tests

See merge request gitlab-org/gitlab-ce!32248
2019-08-28 21:28:23 +00:00
Sanad Liaquat 2ad1621c7f Merge branch 'qa-restric-access-by-ip-address-spec-ce' into 'master'
CE Backport of EE changes

See merge request gitlab-org/gitlab-ce!32203
2019-08-28 05:11:21 +00:00
Mark Lapierre e3569c70b9 Commit to current branch by default
When using the Web IDE
2019-08-28 11:12:39 +10:00
Mark Lapierre 4a55138efc Merge branch 'sh-rate-limits-qa' into 'master'
Add QA specs for using IP rate limits

See merge request gitlab-org/gitlab-ce!32177
2019-08-27 22:41:38 +00:00
Mark Lapierre 6d0fdaaac5 Merge branch 'sh-document-qa-admin-account-docs' into 'master'
Document setting admin credentials in QA tests

See merge request gitlab-org/gitlab-ce!32271
2019-08-27 22:34:02 +00:00
Dan Davison ca5724be5d Merge branch 'qa-autodevops-smoke-check' into 'master'
Ensure autodevops is enabled before running Smoke test

See merge request gitlab-org/gitlab-ce!31867
2019-08-27 17:13:13 +00:00
Sanad Liaquat 6b10779053 Merge branch 'qa/issue-boards-navigation' into 'master'
Update view for testability and update page object

See merge request gitlab-org/gitlab-ce!32224
2019-08-27 16:08:36 +00:00
Stan Hu 7049b3b631 Document setting admin credentials in QA tests
This makes it possible to test against a real instance that has
different admin credentials than the default.
2019-08-27 06:33:10 -07:00
Sanad Liaquat 7a162e1a8f CE Backport of EE changes
Add qa selector elements and files from the EE branch
2019-08-27 10:48:04 +05:00
Stan Hu 9f219873a1 Add QA specs for using IP rate limits
This will help prevent issues such as
https://gitlab.com/gitlab-org/gitlab-ce/issues/66449.
2019-08-26 22:07:13 -07:00
Mark Lapierre 888af11fe5 Remove tests from quarantine 2019-08-27 07:41:26 +10:00
Peter Leitzen 093e954616 Extract gcloud and minikube cluster provider
Add cluster provider k3d
2019-08-26 16:55:03 +00:00
Walmyr Lima a9cae447f1 Update issues submenu
With a new element and a new method to go to issue boards.
2019-08-26 18:13:15 +02:00
Rémy Coutable 3733fd20a4
Copy ee/app/models/license.rb in the QA image if present
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-26 13:15:40 +02:00
Walmyr Lima e Silva Filho 8f797950e8 Merge branch 'qa/quarantine-filter-issue-comments-test' into 'master'
Quarantine filter issue comments test

See merge request gitlab-org/gitlab-ce!32152
2019-08-23 16:30:38 +00:00
Mark Lapierre 99327de207 Fail E2E tests early if template not found via API 2019-08-23 14:06:22 +00:00
Walmyr Lima 6d1800aa94 Quarantine filter issue comments test 2019-08-23 15:32:27 +02:00
Sanad Liaquat 8634cca300 Merge branch 'qa-ml-fix-view-commit-patch-test' into 'master'
Resolve "Failure in qa/specs/features/browser_ui/3_create/repository/user_views_commit_diff_patch_spec.rb"

Closes gitlab-org/quality/staging#69

See merge request gitlab-org/gitlab-ce!32087
2019-08-23 07:23:29 +00:00
Denys Mishunov 371e1ed371 Always pre-select "Start a new merge request"
One exception: there is an existing MR for the current branch and the
branch is non-default and non-protected.

Extended mock_data for ide/stores to have different types of branches:
default, protected and regular

Cleaned new MR checkbox view
2019-08-22 23:23:06 +00:00
Scott Hampton 56294b4ea9 Update GitHub CI/CD import page to use PAT only
Oauth2 tokens are causing issues with mirroring
repos, because it effectively limits the number
of repos you can mirror. Personal Access
Tokens do not have this problem.

This change removes the OAuth2 option from
the import page for CI/CD only, and only
provides the personal access token form.
2019-08-22 23:20:19 +00:00
Mark Lapierre 31490c6d1d Update QA readme to note that Chrome/Chromium is required 2019-08-22 22:57:24 +00:00
Rémy Coutable 9f6ff5dca2 Merge branch 'qa/issue-boards-e2e-tests' into 'master'
Backport of EE MR

See merge request gitlab-org/gitlab-ce!31903
2019-08-22 14:56:41 +00:00
Marcel Amirault d936e8644c Add docs exceptions to two pipeline jobs 2019-08-22 11:56:14 +00:00
Mark Lapierre 095768be4f Fix failing test
Optionally check for quotes and escape the name
2019-08-22 16:42:53 +10:00
Walmyr Lima 126219850e Expose id attribute on label resource 2019-08-20 19:33:01 +02:00
Walmyr Lima a971b7cb98 Allow issue fabrication with milestone 2019-08-20 19:33:01 +02:00
Sanad Liaquat 179955e8ce Match space or newline after username 2019-08-20 07:30:27 +05:00
Sanad Liaquat b759b4a62e Fix add project member spec 2019-08-19 20:03:13 +05:00
Rémy Coutable b601cfcfa7
Update qa/Dockerfile to be built from the project root context
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-19 09:44:53 +02:00
Yorick Peterse 6aa215aaea
Support X_if_ee methods for QA tests
For the QA tests to use the new injection methods, we must require the
initializer and ensure that the "constantize" method is available.
2019-08-19 09:43:37 +02:00
Mark Lapierre 56dcd45a76 Quarantine failing test 2019-08-19 08:07:39 +10:00
Grant Young f14be088b5 Quarantining add_file_template_spec test
Issue - https://gitlab.com/gitlab-org/quality/nightly/issues/127
2019-08-16 16:45:30 +00:00
ddavison 790a1cd911
Ensure autodevops is enabled before running Smoke test
Extract #enable_autodevops to new page object
Change Smoke test naming to only running pipeline
Generate AutoDevOps project with SecureRandom suffix
2019-08-15 13:36:38 -07:00
Rémy Coutable d8f9890009
Reduce the CE/EE diff under qa/
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-14 10:22:25 +02:00
Ramya Authappan ff81c0a35a Merge branch 'qa-unquarantine-diff-patch-test' into 'master'
Remove test from quarantine

See merge request gitlab-org/gitlab-ce!31704
2019-08-12 05:21:16 +00:00
Mark Lapierre dcc1800dae Remove test from quarantine 2019-08-12 11:57:11 +10:00
Thong Kuah 2d58eba111 Bump nokogiri to 1.10.4
This pulls in fix for CVE-2019-5477, where usage of
Nokogiri::CSS::Tokenizer#load_file leads to potential command injection.
2019-08-12 12:25:15 +12:00
Dan Davison f85e5c2614 Default number of GCP nodes to 1
By defaulting to 3, there is unnecessary cost
involved
2019-08-06 21:03:37 +00:00
Mark Lapierre 8ff68917b8 Revert "Merge branch 'backport-fix-remaining-prepend-lines' into 'master'"
This reverts merge request !31379
2019-08-05 04:02:08 +00:00
Robert Speicher 8374dd565d Merge branch 'backport-fix-remaining-prepend-lines' into 'master'
Support X_if_ee methods for QA tests

See merge request gitlab-org/gitlab-ce!31379
2019-08-02 16:25:30 +00:00