summaryrefslogtreecommitdiff
path: root/qa
Commit message (Collapse)AuthorAgeFilesLines
...
| * | [QA] Fix wrong spec files path in QA::Scenario::Test::InstanceRémy Coutable2018-08-271-1/+1
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | Merge branch 'sh-sanitize-project-import-names' into 'master'Rémy Coutable2018-08-261-1/+1
| |\ \ | | | | | | | | | | | | | | | | Use slugs for default project path and sanitize names before import See merge request gitlab-org/gitlab-ce!21367
| | * | Use slugs for default project path and sanitize names before importStan Hu2018-08-241-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Users importing from Bitbucket Cloud, Bitbucket Server, or GitHub often complained about getting failed imports due to 422 errors. This change ensures that project names are imported with names that are guaranteed to pass the regular expression validation. Part of #50021
| * | Merge branch 'make-qa-scenario-test-instance-back-compatible' into 'master'Grzegorz Bizon2018-08-262-0/+37
| |\ \ | | |/ | |/| | | | | | | [QA] Re-add Test::Instance for back-compatibility with GitLab < 11.3 See merge request gitlab-org/gitlab-ce!21339
| | * [QA] Re-add Test::Instance for back-compatibility with GitLab < 11.3Rémy Coutable2018-08-222-0/+37
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | [QA] Fix a 'superclass must be a Class' errorRémy Coutable2018-08-224-4/+4
| |/ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Refresh issue / show page to verify attachmentssh-add-object-storage-qaGrzegorz Bizon2018-08-211-6/+7
| |
* | Merge branch 'master' into sh-add-object-storage-qaGrzegorz Bizon2018-08-2142-140/+311
|\ \ | |/ | | | | * master: (31 commits)
| * Merge branch '49179-fill-with-js-directly-qa' into 'master'Grzegorz Bizon2018-08-211-1/+7
| |\ | | | | | | | | | | | | | | | | | | Resolve "[QA] Automation Triage 11.1.0 RC9 - Filling textarea with deploy key timeouts sometime" Closes #49179 See merge request gitlab-org/gitlab-ce!21258
| | * Fill variable text with JS directly to speed up49179-fill-with-js-directly-qaLin Jen-Shin2018-08-171-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's too slow to use `set(value)`, often timing out. Filling with JS is much faster for longer text, especially when the key size is larger than 8192. Before this patch: ``` Top 3 slowest examples (256.83 seconds, 89.4% of total time): cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::RSA(8192) to clone code using pipelines 161.26 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::ECDSA(521) to clone code using pipelines 47.79 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::ED25519() to clone code using pipelines 47.79 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 ``` Note that 161.26 was timed out. So it would actually take longer if it could ever complete. After patch: ``` Top 3 slowest examples (166.72 seconds, 83.8% of total time): cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::RSA(8192) to clone code using pipelines 83.66 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::ECDSA(521) to clone code using pipelines 42.78 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 cloning code using a deploy key user sets up a deploy key with QA::Runtime::Key::ED25519() to clone code using pipelines 40.27 seconds ./qa/specs/features/project/deploy_key_clone_spec.rb:42 ``` Not that faster for smaller keys, but it's much faster for RSA 8192 (2 times faster). This was inspired from: https://github.com/teamcapybara/capybara/blob/679548cea10773d45e32808f4d964377cfe5e892/lib/capybara/selenium/node.rb#L217 Where it's clearing the field by filling an empty string. Here we do the same for the exact value we want to fill.
| * | Merge branch 'qa-staging-2' into 'master'Grzegorz Bizon2018-08-2111-39/+114
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | [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-2011-39/+114
| | |/ | | | | | | | | | | | | | | | | | | | | | 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-213-3/+3
| | |
| * | add initial smoke tests and documentationDan Davison2018-08-2033-100/+183
| | |
| * | Disable code_quality check in auto devops QA integration testfix-flaky-code-quality-auto-devops-qaDylan Griffith2018-08-201-0/+7
| |/ | | | | | | This test takes too long and leads to flakiness so we disable it for now until somebody can figure out why it takes longer than 20 minutes to finish.
* | Add basic QA test for testing attachment uploadsStan Hu2018-08-203-1/+42
|/
* Fix flaky auto devops QA test by waiting longer for productionDylan Griffith2018-08-141-1/+1
| | | | This fixes https://gitlab.com/gitlab-org/quality/nightly/issues/3 because the code_quality job holds up the production job. Waiting longer should reduce the likelihood of this.
* Merge branch 'ce-5666-backport' into 'master'Yorick Peterse2018-08-071-1/+1
|\ | | | | | | | | CE port of "List groups with developer maintainer access on project creation" See merge request gitlab-org/gitlab-ce!21051
| * CE port of "List groups with developer maintainer access on project creation"Imre Farkas2018-08-071-1/+1
| |
* | Resolve "Mutual SSL Auth For Helm TIller"Mayra Cabrera2018-08-072-2/+4
|/
* Resolve "Improve Auto DevOps settings flow for admin and project"Mike Greiling2018-08-061-3/+3
|
* Resolve "Hashed storage: extend "Enable hashed storage for all new projects" ↵Valery Sizov2018-08-031-2/+2
| | | | to "for all new and renamed projects""
* Revert "Merge branch '48098-mutual-auth-cluster-applications' into 'master'"Mayra Cabrera2018-07-312-4/+2
| | | This reverts merge request !20801
* Install cluster applications in parallel in auto devops QADylan Griffith2018-07-301-2/+3
|
* Fix race condition in auto devops QA spec: ensure we wait for Install button ↵Dylan Griffith2018-07-301-0/+1
| | | | to appear
* Reset local storage between qa testsDJ Mountney2018-07-251-0/+1
| | | | | | | | | | | | This is not done by default as it is said to incur a performance hit, paired with local storage not always being used by the site being tested. (https://github.com/teamcapybara/capybara/issues/1702#issuecomment-219483444) GitLab uses localStorage, for things like remembering which tab you used last (on the login page for example, between sign-in, ldap, and register) Fixes: https://gitlab.com/gitlab-org/gitlab-qa/issues/303
* i18n: externalize strings from 'app/views/layouts'Tao Wang2018-07-232-4/+4
| | | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* Disambiguate 'File' under qa/ since we have a QA::Factory::Resource::File ↵Rémy Coutable2018-07-1811-14/+14
| | | | | | class as well Signed-off-by: Rémy Coutable <remy@rymai.me>
* QA scenario to add/edit/delete a file via the Web UISanad Liaquat2018-07-178-2/+197
|
* Merge branch 'i18n-extract-app/views/doorkeeper' into 'master'Rémy Coutable2018-07-161-1/+1
|\ | | | | | | | | i18n: externalize strings from 'app/views/doorkeeper' See merge request gitlab-org/gitlab-ce!19695
| * i18n: externalize strings from 'app/views/doorkeeper'Tao Wang2018-07-131-1/+1
| | | | | | | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* | Remove flaky and redundant expectationsmk/fix-flaky-protected-branch-expectationsMichael Kozono2018-07-133-42/+1
|/
* Ensure Encoding.default_external is set to UTF-8 when running QA scenariosRémy Coutable2018-07-121-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'qa-fix-timestamp' into 'master'Grzegorz Bizon2018-07-121-1/+1
|\ | | | | | | | | [QA] Fix duplicate year in namespace name See merge request gitlab-org/gitlab-ce!20581
| * [QA] Fix duplicate year in namespace nameqa-fix-timestampRémy Coutable2018-07-121-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch ↵Grzegorz Bizon2018-07-121-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '49139-sleep-before-installing-tiller-to-prevent-race-condition' into 'master' Resolve "Installing helm tiller sometimes fails with no api token found" Closes #49139 See merge request gitlab-org/gitlab-ce!20580
| * | Add sleep to QA test before installing tiller49139-sleep-before-installing-tiller-to-prevent-race-conditionDylan Griffith2018-07-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise we ocassionally see a race condition error: No API token found for service account "default", retry after the token is automatically created and added to the service account Waiting 10 seconds should remove this risk.
* | | Adding spec to test basic forking functionalitiesMykhailo Formus2018-07-1217-22/+229
| | |
* | | Merge branch '48690-follow-up-from-milestone-tests' into 'master'Rémy Coutable2018-07-123-11/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Follow-up from "Milestone tests"" Closes #48690 See merge request gitlab-org/gitlab-ce!20563
| * | | move #has_milestone? to issuable sidebar;48690-follow-up-from-milestone-testsddavison2018-07-113-11/+13
| | | | | | | | | | | | | | | | closes #48690
* | | | Revert "Log push output on exception"mk/remove-push-output-loggingMichael Kozono2018-07-111-18/+6
| |_|/ |/| | | | | | | | This reverts commit d493c91d21250e0b94a14f1808fcf8bb6f1a8d03.
* | | [QA] Ensure screenshots are save in subfolder per QA runRémy Coutable2018-07-112-1/+5
|/ / | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Milestone testsDan Davison2018-07-119-8/+141
| |
* | Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-0/+6
|/
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Merge branch 'rc-qa-146' into 'master'Grzegorz Bizon2018-07-0616-12/+352
|\ | | | | | | | | | | | | Add a new scenario to test GitHub import Closes gitlab-qa#146 See merge request gitlab-org/gitlab-ce!19555
| * [QA] Add a new scenario to test GitHub importRémy Coutable2018-07-0616-16/+334
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * [QA] Add a new Page::Issuable::Show pageRémy Coutable2018-07-062-0/+22
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Resolve "Add dropdown to Groups link in top bar"Dennis Tang2018-07-061-2/+8
|/
* Ensure QA specs are categorized as feature specs by RSpecRémy Coutable2018-07-051-0/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>