Commit Graph

455 Commits

Author SHA1 Message Date
GitLab Bot a325f3a104 Add latest changes from gitlab-org/gitlab@master 2020-03-02 09:07:59 +00:00
GitLab Bot ca2a7ed5bd Add latest changes from gitlab-org/gitlab@master 2020-02-28 06:09:19 +00:00
GitLab Bot b98fa9ef3d Add latest changes from gitlab-org/gitlab@master 2020-02-25 09:09:10 +00:00
GitLab Bot 0637ba1e6e Add latest changes from gitlab-org/gitlab@master 2020-02-18 12:09:15 +00:00
GitLab Bot c60a117301 Add latest changes from gitlab-org/gitlab@master 2020-02-14 03:09:01 +00:00
GitLab Bot e4dffdfe36 Add latest changes from gitlab-org/gitlab@master 2020-02-13 18:09:00 +00:00
GitLab Bot 56a7627af0 Add latest changes from gitlab-org/gitlab@master 2020-02-13 03:09:05 +00:00
GitLab Bot 47d1f417f0 Add latest changes from gitlab-org/gitlab@master 2020-02-13 00:08:46 +00:00
GitLab Bot 0e9eea40b6 Add latest changes from gitlab-org/gitlab@master 2020-02-11 21:08:44 +00:00
GitLab Bot 0c6bc5443a Add latest changes from gitlab-org/gitlab@master 2020-02-07 21:08:39 +00:00
GitLab Bot e43077ab47 Add latest changes from gitlab-org/gitlab@master 2020-02-07 15:09:52 +00:00
GitLab Bot 0eb3d2f799 Add latest changes from gitlab-org/gitlab@master 2020-02-06 15:09:11 +00:00
GitLab Bot 76623c12c1 Add latest changes from gitlab-org/gitlab@master 2020-02-05 21:09:02 +00:00
GitLab Bot 7ec2694360 Add latest changes from gitlab-org/gitlab@master 2020-02-04 03:08:37 +00:00
GitLab Bot c089cf73c2 Add latest changes from gitlab-org/gitlab@master 2020-02-03 12:09:07 +00:00
GitLab Bot d8121cb00b Add latest changes from gitlab-org/gitlab@master 2020-01-30 18:08:57 +00:00
GitLab Bot 536aa3a1f4 Add latest changes from gitlab-org/gitlab@master 2020-01-30 15:09:15 +00:00
GitLab Bot 7cc6872401 Add latest changes from gitlab-org/gitlab@master 2020-01-29 12:09:08 +00:00
GitLab Bot 1ea1db491c Add latest changes from gitlab-org/gitlab@master 2020-01-27 15:08:51 +00:00
GitLab Bot 22e9af3c8b Add latest changes from gitlab-org/gitlab@master 2020-01-27 12:08:35 +00:00
GitLab Bot 2ee5991b42 Add latest changes from gitlab-org/gitlab@master 2020-01-20 09:08:32 +00:00
GitLab Bot 74a89b1221 Add latest changes from gitlab-org/gitlab@master 2020-01-13 21:07:39 +00:00
GitLab Bot 5afd857550 Add latest changes from gitlab-org/gitlab@master 2020-01-09 09:07:51 +00:00
GitLab Bot afa0ab923d Add latest changes from gitlab-org/gitlab@master 2020-01-09 03:07:56 +00:00
GitLab Bot e879335864 Add latest changes from gitlab-org/gitlab@master 2020-01-09 00:07:40 +00:00
GitLab Bot e3e300557f Add latest changes from gitlab-org/gitlab@master 2020-01-08 12:07:59 +00:00
GitLab Bot 2b3bfe8fc5 Add latest changes from gitlab-org/gitlab@master 2020-01-08 00:07:43 +00:00
GitLab Bot 045c0f9554 Add latest changes from gitlab-org/gitlab@master 2020-01-06 12:07:56 +00:00
GitLab Bot 13076511c6 Add latest changes from gitlab-org/gitlab@master 2020-01-06 06:08:07 +00:00
GitLab Bot 47b8f79a08 Add latest changes from gitlab-org/gitlab@master 2019-12-13 00:08:05 +00:00
GitLab Bot 5e11c9b77c Add latest changes from gitlab-org/gitlab@master 2019-12-10 12:07:55 +00:00
GitLab Bot cfc792b9ca Add latest changes from gitlab-org/gitlab@master 2019-12-10 07:53:40 +00:00
GitLab Bot d07169c8ae Add latest changes from gitlab-org/gitlab@master 2019-12-04 06:06:21 +00:00
GitLab Bot ab7cf450ba Add latest changes from gitlab-org/gitlab@master 2019-12-03 18:06:49 +00:00
GitLab Bot 4204cf3085 Add latest changes from gitlab-org/gitlab@master 2019-12-03 15:06:20 +00:00
GitLab Bot 10d0e5693c Add latest changes from gitlab-org/gitlab@master 2019-12-03 00:06:28 +00:00
GitLab Bot 2ac93cb80c Add latest changes from gitlab-org/gitlab@master 2019-11-29 06:06:31 +00:00
GitLab Bot 8f1f6b374b Add latest changes from gitlab-org/gitlab@master 2019-11-25 12:06:13 +00:00
GitLab Bot b5ad06174b Add latest changes from gitlab-org/gitlab@master 2019-11-21 15:06:17 +00:00
GitLab Bot aaf124b0f7 Add latest changes from gitlab-org/gitlab@master 2019-11-18 21:06:19 +00:00
GitLab Bot d41c040fa2 Add latest changes from gitlab-org/gitlab@master 2019-11-13 03:06:31 +00:00
GitLab Bot 60877d1bff Add latest changes from gitlab-org/gitlab@master 2019-11-12 06:06:32 +00:00
GitLab Bot 90a06a20be Add latest changes from gitlab-org/gitlab@master 2019-11-07 15:06:33 +00:00
GitLab Bot 15a2d004be Add latest changes from gitlab-org/gitlab@master 2019-11-04 06:06:46 +00:00
GitLab Bot 6026bddcd5 Add latest changes from gitlab-org/gitlab@master 2019-10-31 09:06:29 +00:00
GitLab Bot d64e3a8b28 Add latest changes from gitlab-org/gitlab@master 2019-10-29 12:06:40 +00:00
GitLab Bot 8f8838a1d9 Add latest changes from gitlab-org/gitlab@master 2019-10-25 06:06:19 +00:00
GitLab Bot c4edbefa45 Add latest changes from gitlab-org/gitlab@master 2019-10-24 18:07:05 +00:00
GitLab Bot b3f7042d06 Add latest changes from gitlab-org/gitlab@master 2019-10-23 15:06:29 +00:00
GitLab Bot b3e4ec8e8a Add latest changes from gitlab-org/gitlab@master 2019-10-23 09:06:03 +00:00
GitLab Bot f1bb2a307e Add latest changes from gitlab-org/gitlab@master 2019-10-21 18:06:29 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
GitLab Bot 00c78fb814 Add latest changes from gitlab-org/gitlab@master 2019-10-16 15:06:17 +00:00
GitLab Bot b4e072cbaf Add latest changes from gitlab-org/gitlab@master 2019-10-11 06:06:27 +00:00
GitLab Bot 7c21abab2a Add latest changes from gitlab-org/gitlab@master 2019-10-06 09:06:13 +00:00
GitLab Bot 0d46bf0638 Add latest changes from gitlab-org/gitlab@master 2019-10-04 12:06:14 +00:00
GitLab Bot 587794b4b8 Add latest changes from gitlab-org/gitlab@master 2019-10-02 00:06:26 +00:00
GitLab Bot 8320f7956d Add latest changes from gitlab-org/gitlab@master 2019-09-27 15:06:16 +00:00
GitLab Bot 45482d5a27 Add latest changes from gitlab-org/gitlab@master 2019-09-27 12:06:07 +00:00
GitLab Bot 41aba3c68d Add latest changes from gitlab-org/gitlab@master 2019-09-27 00:06:23 +00:00
GitLab Bot 4e9f718e19 Add latest changes from gitlab-org/gitlab@master 2019-09-26 15:06:18 +00:00
GitLab Bot 4a45a78770 Add latest changes from gitlab-org/gitlab@master 2019-09-24 06:06:02 +00:00
GitLab Bot b082790134 Add latest changes from gitlab-org/gitlab@master 2019-09-18 18:06:14 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
GitLab Bot 4ab54c2233 Add latest changes from gitlab-org/gitlab@master 2019-09-17 14:16:34 +00:00
GitLab Bot 48c77599ca Add latest changes from gitlab-org/gitlab@master 2019-09-17 00:06:11 +00:00
GitLab Bot d2798d607e Add latest changes from gitlab-org/gitlab@master 2019-09-16 12:06:26 +00:00
Paul Slaughter d43c09d7b1 Docs: Add when to use Jest section in frontend_testing 2019-09-10 07:44:36 +00:00
Ramya Authappan ec326ecf91 Merge branch 'qa-ml-approval-rules-tests' into 'master'
CE backport of EE MR approvals E2E test

See merge request gitlab-org/gitlab-ce!32439
2019-09-06 09:20:06 +00:00
Mark Lapierre 3ba3597501 Split tests across files for the sake of parallelization 2019-09-05 04:14:10 +00:00
Mark Lapierre 88b727d7b7 CE backport of EE MR approvals E2E test
Includes API methods to add members to projects and groups
2019-09-04 09:24:10 +10:00
Balasankar "Balu" C 7d90f0f060
Use new location for helm charts repo
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2019-09-03 10:06:02 +05:30
Evan Read 13627ca919 Merge branch 'fix-test-design-link' into 'master'
Broken Link to Test Design

See merge request gitlab-org/gitlab-ce!32279
2019-08-30 01:25:30 +00:00
Mark Florian 05ec97d403 Apply review suggestions
- Reword relationship between Jest/Karma/Jasmine
- Prefer inline URLs, per the [docs]

[docs]: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links
2019-08-29 06:43:25 +00:00
Marcel Amirault d7d218628f Fix markdown in various docs
Clean up issues that may cause the docs-lint
test to fail, such as trailing whitespace, no
EOF newline, blockquotes, etc
2019-08-28 06:06:34 +00:00
David H. Wilkins 30bc74f20d Broken Link to Test Design
- previous link
  engineering/quality/guidelines/test-engineering/test-design
  is missing and apparently should be
  engineering/quality/test-engineering/#test-heuristics
2019-08-27 08:15:18 -05:00
Marcel Amirault d936e8644c Add docs exceptions to two pipeline jobs 2019-08-22 11:56:14 +00:00
Winnie Hellmann a5b14d8231 Add diagrams for frontend testing levels (docs) 2019-08-21 09:28:13 +00:00
Winnie Hellmann f69dba8f10 Fix code blocks in frontend testing guide (docs) 2019-08-21 02:02:23 +00:00
Lin Jen-Shin 9e6a8bb93b Merge branch 'docs-testing-n-1-request-sepcs' into 'master'
Docs: Require request specs when testing N+1 for controllers

See merge request gitlab-org/gitlab-ce!31940
2019-08-20 11:35:21 +00:00
Thong Kuah 3b7df66eef Require request specs when testing N+1 for controllers 2019-08-20 23:12:48 +12:00
Winnie Hellmann 49ea1a64c8 Combine old and new frontend testing guide (docs) 2019-08-20 01:43:13 +00:00
Marcel Amirault 3bc0a1185c Standardize markdown in dev and workflow
Delete trailing whitespace, fix blockquotes, fix note
boxes, with indentation, clean up tables, etc.
2019-08-19 23:41:23 +00:00
Evan Read 40c9edf69e Merge branch 'docs-testing-guide-update' into 'master'
Docs fixup: Remove reference to old lib/api/ci dir

See merge request gitlab-org/gitlab-ce!31937
2019-08-19 06:38:26 +00:00
Evan Read fd3d2a6811 Merge branch 'doc-be_like_time' into 'master'
Add `be_like_time` matcher to Testing Styleguide

See merge request gitlab-org/gitlab-ce!31833
2019-08-19 06:33:14 +00:00
Evan Read 149cf5a39f Merge branch 'remove-mysql-from-dev-docs' into 'master'
Remove MySQL references from development docs

See merge request gitlab-org/gitlab-ce!31712
2019-08-19 00:23:48 +00:00
Luke Duncalfe c2c86e3514 Add `be_like_time` matcher to Testing Styleguide 2019-08-19 09:04:43 +12:00
Thong Kuah 90170ab1a7 Remove reference to old lib/api/ci dir
This directory no longer exists (since 2017)
2019-08-17 21:53:46 +00:00
Nick Thomas 5a574883f9
Remove MySQL references from development docs
I noticed the doc/development/testing_guide/best_practices.md still
referenced the `[run mysql]` tags, etc. They no longer work, so I
removed them, then realised I had better clean up the rest of
doc/development !
2019-08-16 14:05:08 +01:00
Bob Van Landuyt fe0ab065c4 Merge branch 'allow-focus-in-specs' into 'master'
Allow to use focus: true in specs

See merge request gitlab-org/gitlab-ce!31691
2019-08-15 08:04:38 +00:00
Giorgenes Gelatti dd84b9a03d Mention focus: true in the specs 2019-08-13 10:41:52 +10:00
Marcel Amirault 60dfca155c Add more rules to markdown lint check
Adds MD010 (Hard tabs), MD012 (blank lines), MD029 (ordered
list prefix), MD030 (spaces after list markers), and fixes
remaining docs that were failing these tests
2019-08-12 04:23:01 +00:00
Marcel Amirault 61e1a14925 Expand markdown linting rules for docs
MD002 - First header should be level 1
MD006 - Start bullets at beginning of line
MD019 - No multiple spaces after header style
MD022 - Headers surrounded by blank lines
MD025 - Only 1 level 1 header
MD028 - No blank lines within blockquote
MD038 - Spaces inside code span elements
2019-08-05 02:13:46 +00:00
Walmyr 2db7436aad Merge branch 'docs/update-end-to-end-style-guide' into 'master'
Update end-to-end style guide doc with new guideline

See merge request gitlab-org/gitlab-ce!31342
2019-08-02 12:05:02 +00:00
Stan Hu a3e18e7c97 Use Mermaid Markdown for testing guide docs
* Remove PNGs in favor of dynamically rendered graphs
* Eliminate <b> styling because this is no longer supported
* Change <br /> to <br> because the latter is only supported
* Add quotes around subgraph titles
2019-08-01 10:18:59 -07:00
Rémy Coutable aaefcb9c7e
Document the current state of the Review App clusters
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-01 17:53:03 +02:00
Walmyr Lima f26bb243cc Update e2e style guide with new guideline 2019-08-01 12:51:03 +02:00
Walmyr Lima 25cfdd69d3 Update sections titles with right heading 2019-07-31 15:50:34 +02:00
Marcel Amirault 0f7d8c0421 Update links to relative
Following the single docs codebase change, all internal links
should be relative. Also cleans up one table
2019-07-25 22:49:13 +00:00
Phil Hughes b83a4f8327 Merge branch '64722-mg-export-frontend-fixtures' into 'master'
Resolve "Export frontend fixtures as pipeline artifact"

Closes #64722 and #59166

See merge request gitlab-org/gitlab-ce!30917
2019-07-19 14:23:41 +00:00
Mike Greiling 97b8f85e03
Move frontend fixtures into spec/frontend
Moves every fixture source file from
spec/javascripts to spec/frontend
2019-07-19 02:27:15 -05:00
Mike Greiling faa17d5263
Rename the karma:fixtures task
Introduces frontend:fixtures rake task to replace
karma:fixtures and update documentation and CI scripts
to match
2019-07-19 02:27:14 -05:00
Marcel Amirault 7da80b2d36 Update numbered lists for docs standards
Ensure that all numbered lists use only 1. and no other numbers.
Also ensure that numbered lists use proper spacing.
2019-07-19 02:20:32 +00:00
Dan Davison 0604390a11 Fix QA documentation to refer to perform method
The documentation referred to the .act method
This MR changes this to refer to the preferred
.perform method
2019-07-18 19:21:02 +00:00
Marcel Amirault 746f547877 Fix unordered list spacing
Correct the spacing of unordered markdown lists
in docs, to maintain standards of documentation.
2019-07-18 01:15:58 +00:00
Dan Davison a7e16ee208 Add documentation surrounding [data-qa-selector]
Documentation was lacking for the [data-qa-selector]
method of defining methods vs .qa-selector method.
2019-07-17 19:30:00 +00:00
Martin Hanzel e424fcedcc Add docs about auto-injected Jest mocks 2019-07-17 17:47:19 +00:00
ddavison 18b3f530fc
Add an appropriate solution in documentation
A "bad" example was given, however no solution was provided
for fixing the bad example
2019-07-15 15:29:20 -07:00
Marcel Amirault 4121c63676 Remove extra blank lines from docs
Removing extra blank lines in docs that serve
no purpose, as well as some --- lines that also
are not needed.
2019-07-15 01:04:35 +00:00
Walmyr Lima c53d9e7278 Fix link on end-to-end quick start guide doc 2019-07-12 18:20:21 +02:00
Marcel Amirault 143872fa52 Remove trailing whitespace in docs
Remove unneeded trailing whitespace in lines in
/development /ci /api and /administration docs.
2019-07-12 08:15:38 +00:00
Marcel Amirault 347a879909 Update redirected links to final destination
Updating redirected links in the development, install, policy
raketasks and university dirs. Should now link to final
URL to avoid redirect hops
2019-07-09 00:20:40 +00:00
Evan Read 4f93fa4b7d Add lint rule that headings must increment one level at a time
Also fixes instances in Markdown that broke the rule.
2019-07-08 11:07:07 +00:00
Marcel Amirault 6feda1df3b Change absolute links to relative
Change assorted absolute links to ce and ee docs
to relative links
2019-07-05 16:25:58 +00:00
Marcel Amirault e108f0d961 Small markdown tweaks to clear kramdown warnings
Fixing square brackets, links, etc in:
  merge_requests.md
  vulnerabilities.md
  issues.md
  issues_statistics.md
  pipelines.md
  services.md
  group_milestones.md
  milestones.md
  runners.md
  changelog.md
  issue_workflow.md
  elasticsearch.md
  api_graphql_styleguide.md
  automatic_ce_ee_merge.md
  file_storage.md
  architecture.md
  database_debugging.md
  index.md
  index.md
  frontend_testing.md
  pry_debugging.md
  vue.md
  development_process.md
2019-07-04 22:46:12 +00:00
Rémy Coutable 77212dd5ec Merge branch 'update-sidekiq-inline-testing-docs' into 'master'
Change docs to recommend perform_enqueued_jobs instead of Sidekiq::Testing.inline!

See merge request gitlab-org/gitlab-ce!29845
2019-07-01 15:28:12 +00:00
Marcel Amirault 20654fb9bf Enforce consistent prefix for bullet lists
Adjusts asterisks to hyphens in assorted docs to allow lint rule to pass
2019-07-01 03:36:23 +00:00
Walmyr Lima e6257e43cb Fix typo on end-to-end quick start guide 2019-06-27 17:18:19 +02:00
Walmyr Lima 4767dda56c Backport of EE MR
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14320
2019-06-27 12:38:38 +02:00
Winnie Hellmann 6ca0f281fb Document limitations of jsdom 2019-06-26 11:39:30 +00:00
Winnie Hellmann 1eccad79c1 Clarify that this.something is not available in Jest (docs) 2019-06-25 15:37:41 +00:00
Winnie Hellmann 4a125e97cc Clarify that Jest does not use Webpack (docs) 2019-06-25 15:28:33 +00:00
Evan Read e128239340 Add Markdown linting
Also adds and one linting rule
and makes project conform to it.
2019-06-25 04:34:55 +00:00
Mark Lapierre 61a2ed5d0e Merge branch 'docs-ml-gdk-how-to-more-info' into 'master'
Update docs on how to run E2E tests

See merge request gitlab-org/gitlab-ce!29823
2019-06-20 21:37:44 +00:00
Walmyr Lima 02eece7539 Backport EE MR
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14280
2019-06-19 16:01:27 +02:00
rpereira2 9d67a3d17c Change docs to recommend perform_enqueued_jobs
- Instead of Sidekiq::Testing.inline!, recommend the use of
perform_enqueued_jobs. This is due to the changes in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20768
2019-06-19 16:50:00 +05:30
Mark Lapierre 09d7f0c0e0 Update docs on how to run E2E tests
Make instructions on how to run the E2E tests against GDK more
explicit and easier to find.
2019-06-19 00:22:23 +00:00
Rémy Coutable 63043b6fb6 Merge branch 'docs-qa-ml-fix-list-rendering' into 'master'
Fix list rendering on docs site

See merge request gitlab-org/gitlab-ce!29738
2019-06-17 15:16:26 +00:00
Walmyr 7bfe9ae2fb Turn single line code into blocks
To improve doc readability.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62506
2019-06-17 12:13:25 +00:00
Mark Lapierre 657760ba52 Fix list rendering on docs site 2019-06-17 03:07:32 +00:00
Walmyr 8769eef340 Backport of EE changes from MR 13763
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13763
2019-06-14 05:07:29 +00:00
Rémy Coutable a57bb71344 Document how to troubleshoot a pending external-dns deployment
Also update the Review Apps node pools description

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-06-12 23:51:45 +00:00
Walmyr 407029a4c5 Update guide with alphabetical order style
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62505
2019-06-12 23:45:40 +00:00
Yoginth 88bb6b1d74 Fix Typos 2019-06-12 15:51:29 +00:00
ddavison e61495610d
Documentation for dynamic element validation
First iteration on the documentation for how
dynamic element validation works within the
GitLab QA framework and how to utilize it
2019-06-05 16:14:47 -07:00
ddavison eb066f649b
Consolidate documentation written for e2e tests under dev docs
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
2019-05-30 22:10:33 -07:00
Winnie Hellmann 37fae2de11 Add documentation for frontend fixtures 2019-05-27 23:59:26 +00:00
Achilleas Pipinellis 8ec7ecf0bc
Use relative URLs in development docs
This is part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61945
2019-05-27 11:13:40 -04:00
Rémy Coutable 0c9b9a70f4
Document the on-demand run of MySQL tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-22 21:47:32 +02:00
Rémy Coutable 6145ddf515
Revert "Merge branch 'revert-04c3c6dd' into 'master'"
This reverts commit 744f1f2e70, reversing
changes made to c4d930e5f5.
2019-05-22 21:47:32 +02:00
Kamil Trzciński 4f20c9de6f Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"
This reverts merge request !27514
2019-05-22 11:45:46 +00:00
Kamil Trzciński 04c3c6dd5a Merge branch 'reorganize-tests-jobs-by-level' into 'master'
Reorganize test jobs by level

See merge request gitlab-org/gitlab-ce!27514
2019-05-22 10:21:38 +00:00
Winnie Hellmann e1b3162739 Document the differences between Karma and Jest setup 2019-05-21 18:38:27 +00:00
Rémy Coutable 4d9c76e9e4
Reorganize test jobs by level
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-20 14:31:58 +02:00
Luke Duncalfe db7dabea67 Link to testing guide for feature flag spec info
In order for there to be a single source of truth.
2019-05-17 18:36:52 +00:00
Rémy Coutable 3889163386
Document what to do if review jobs keep failing
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-16 17:28:23 +02:00
Winnie Hellmann a0c4645257 Provide alternatives to using setTimeout in frontend tests 2019-05-09 00:20:41 +02:00
Evan Read c135061ff9 Avoid links requiring permissions 2019-04-29 09:33:08 +00:00
Rémy Coutable a374131b1e
Update development Review Apps documentation with the latest changes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24 19:25:37 +02:00
Rémy Coutable b16ee077ff
Better document the current states of our testing levels
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-17 15:50:10 +02:00
Rémy Coutable 78654a8c6a
Add missing team and stage labels in the workflow labels doc
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-10 17:53:15 +02:00
Heinrich Lee Yu 84ec11131d Add doc when rspec-set won't work 2019-04-05 20:41:58 +08:00
Rémy Coutable bd3a12bdc0
Improve the Review Apps documentation by using gitlab-rails console
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-04 17:49:09 +02:00
Simon Knox f54e4eb10f Add docs for debugging Jest tests 2019-04-03 12:50:30 +00:00
Rémy Coutable 1e3c09d8ef
Document the branch naming conventions for QA-only changes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-28 11:47:22 +01:00
Zeff Morgan 127828c64a Update testing guide to reference test design 2019-03-26 15:40:10 -04:00
Rémy Coutable 4793b2818b
Mention review-qa-all in the end-to-end tests documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-25 12:27:03 +01:00
Clement Ho c238ba7f73 Merge branch 'winh-yarn-test-command' into 'master'
Introduce yarn test to run Jest and Karma

See merge request gitlab-org/gitlab-ce!26320
2019-03-20 15:49:12 +00:00
Winnie Hellmann 4fca4b79f5 Update docs on running frontend tests 2019-03-19 22:19:05 +01:00
Winnie Hellmann 00db78214c Remove static HAML fixtures from frontend testing guide 2019-03-19 16:54:41 +01:00
Mek Stittri 297ce3e586 Merge branch 'docs-improve-package-and-qa-documentation' into 'master'
Document better the package-and-qa job

See merge request gitlab-org/gitlab-ce!25978
2019-03-15 15:46:39 +00:00
Marcel Amirault 4478fc37fb Docs: Fix a link that fails the link test 2019-03-15 05:10:56 +00:00
Luke Bennett 14f625b35b Fix jest link in frontend_testing.md 2019-03-13 21:09:35 +00:00
Rémy Coutable d19c60be2a
Document better the package-and-qa job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-13 11:32:27 +01:00
Luke Bennett b1184de452 Update setTestTimeout documentation 2019-03-12 03:00:12 +00:00
Luke Bennett cef55d9d29 Remove polyfill warnings from the FE testing docs 2019-03-11 14:23:45 +00:00
Mike Lewis 5e0beb39bb Merge branch 'jest-docs' into 'master'
Add jest to frontend_testing docs

See merge request gitlab-org/gitlab-ce!25748
2019-03-07 15:54:53 +00:00
Luke Bennett a69e191bd5 Apply suggestion to doc/development/testing_guide/frontend_testing.md 2019-03-07 12:24:13 +00:00
Marcel Amirault 9c8dc7ddf6 Docs: Fix broken anchors in development docs 2019-03-05 13:06:32 +00:00
Luke Bennett c82758263a
Add jest to frontend_testing docs 2019-03-04 22:55:52 +00:00
Douwe Maan 7d1216016c Merge branch 'patch-31' into 'master'
Update best_practices.md let section to also reference let! variables.

See merge request gitlab-org/gitlab-ce!22496
2019-02-28 13:24:23 +00:00
Ramya Authappan 68cafb38ee Enabling performance metrics on Review Apps 2019-02-28 10:14:19 +00:00
Stan Hu bea565cacc Bring back mentions of Redash
This reverts commit 676e0a3260.
It was removed when we thought we were moving to Looker.
2019-02-27 14:04:18 -08:00
Evan Read eb86630959 Ensure all lists are surrounded by new lines
Markdown renderers find it easier to determine
where lists start and end when lists are surrounded
by new lines.

For consistency, also ensure entries in the list
are aligned when they span multipls lines.
2019-02-22 13:17:10 +00:00
Douglas Barbosa Alexandre 7ff0c8ae57 Merge branch 'ce-9858-follow-up-on-a-bug-that-happens-when-using-a-factory-built-object-in-the-where-block-of-rspec-parameterized-tablesyntax' into 'master'
Fix and document an RSpec::Parameterized::TableSyntax edge-case

See merge request gitlab-org/gitlab-ce!25438
2019-02-21 19:57:14 +00:00
Luke Bennett cb28bcf568 Separate spyOnDependency docs examples 2019-02-21 03:47:08 +00:00
Rémy Coutable b85b6590e5
Fix and document an RSpec::Parameterized::TableSyntax edge-case
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-20 19:51:26 +01:00
Rémy Coutable cc64ce8a15
Document how to enable feature flags on Review Apps
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-20 19:11:25 +01:00
Mark Lapierre 75b2df681b Update QA docs
Use consistent language (end-to-end instead of integration).

Clarify purpose of `qa/specs/features/` vs. `spec`
2019-02-19 21:44:08 +00:00
Rémy Coutable ef33aee260
Improve the Review Apps documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-12 14:47:33 +01:00
Marcel Amirault 9d6a8003e0 Docs: Realign more CE docs that diverged from EE unnecessarily (second MR) 2019-02-12 12:39:48 +00:00
Rémy Coutable f8a10191f0
Use $CI_COMMIT_REF_NAME for tags in trigger-build
Also, pass GITLAB_VERSION and GITLAB_ASSETS_TAG to CNG triggered
pipelines.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 08:43:11 +01:00
Evan Read c2c2d04b3a Fix most instances of bare URLs in markdown 2019-01-24 06:52:33 +00:00
Rémy Coutable 29e5cd5f8d
Improve Review Apps documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-23 16:47:46 +01:00
Rémy Coutable 41fba95757 Apply suggestion to doc/development/testing_guide/flaky_tests.md 2019-01-17 11:29:57 +00:00
Rémy Coutable e6dea31365
Document better the process around quarantined tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-17 11:23:36 +01:00
Rémy Coutable 642bd8ce29
Allow to quarantine tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-15 14:43:02 +01:00
Evan Read d98560c1f5 Make unordered lists conform to styleguide
- Also makes other minor Markdown fixes that were near the main fixes.
2019-01-08 12:21:09 +10:00
Sam Bigelow 8b7aa1e443 Update best_practices.md 2018-12-12 20:54:44 +00:00
Sam Bigelow 78cad022cb Document how to run rspec tests 2018-12-12 20:49:17 +00:00
Douglas Barbosa Alexandre e80f89337b Merge branch '54610-allow-review-jobs-to-fail' into 'master'
Retry the review-{deploy,qa} jobs twice, and allow them to fail

Closes #54610 and #54717

See merge request gitlab-org/gitlab-ce!23510
2018-12-06 17:49:20 +00:00
Rémy Coutable 75ae3af19b
Add an 'How-To' section to the Review Apps doc
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-06 10:06:15 +01:00
Stan Hu 676e0a3260 Remove mentions of Redash
Related links:

* https://gitlab.com/gitlab-com/Product/issues/5
* https://gitlab.com/meltano/looker/issues/294
2018-12-05 10:34:16 -08:00
Sean McGivern e8db29d086 Merge branch '49570-add-review_qa-job' into 'master'
Add an automatic job to run QA smoke tests against Review Apps

Closes #49570

See merge request gitlab-org/gitlab-ce!22853
2018-11-28 10:39:56 +00:00
Rémy Coutable f4b8ecbf9f
Add a manual job to run QA against a Review App
1. Renames review to review-deploy.
2. Renames stop_review to review-stop.
3. Adds a build-qa-image job to the prepare stage and save the QA
  Docker image as artifact (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967019).
4. Adds a manual review-qa job to the test stage to run QA tests
  against the Review App (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967238).
5. Make the review-deploy job plays the review-qa job as soon as the
  Review App is deployed (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120988775).
6. Updates the Review Apps documentation accordingly.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-26 14:49:03 +01:00
Takuya Noguchi e238882d0c Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 15:44:32 +09:00
George Tsiolis d2d8b935e2 Fix typos in docs 2018-11-16 12:05:55 +02:00
Mek Stittri 03e46cf72b Merge branch 'docs-quality/team-tasks-24' into 'master'
Improve the 'Testing levels' documentation

Closes gitlab-org/quality/team-tasks#24

See merge request gitlab-org/gitlab-ce!21505
2018-11-13 00:29:16 +00:00
Rémy Coutable 1813bb989b
Improve the Review Apps documentation a bit
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-08 20:00:49 +01:00
Rémy Coutable 35616708ff
Improve the 'Testing levels' documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-06 22:17:38 +01:00
Mark Lapierre 25be3f83af Fix Review Apps testing guide
Changes from docs review
2018-10-29 20:10:56 +00:00
Mark Lapierre df17f35528 Update review apps testing guide
Review Apps are now deployed automatically.
Note that if auth fails you might need to stop and redeploy the app.
2018-10-26 15:17:54 +00:00
Rémy Coutable 173b1436b1 Merge branch '51366-custom-repos-trait-docs' into 'master'
Document the :repository and :custom_repo traits

Closes #51366

See merge request gitlab-org/gitlab-ce!22480
2018-10-22 06:47:58 +00:00
Nick Thomas a5ee4e0d7b
Document how GitLab keeps its tests pristine 2018-10-19 18:08:41 +01:00
Artur Martsinkovskyi cb275a33e3 Update best_practices.md let section to also reference let! variables. 2018-10-19 15:38:30 +00:00
Nick Thomas 2953798e7e
Document the :repository and :custom_repo traits 2018-10-19 03:09:37 +01:00
Dylan Griffith f5f5d6ea1f Resolve "Un-vendor CI templates" 2018-09-26 15:39:27 +00:00
Rémy Coutable 03b0d3d6bb
Document review apps setup for gitlab-{ce,ee}
Signed-off-by: Rémy Coutable <remy@rymai.me>
Signed-off-by: ddavison <ddavison@gitlab.com>
2018-09-17 13:40:14 -04:00
Brett Walker b0be58a1b3 Resolve "CE documentation is not CommonMark compliant" 2018-09-06 16:52:18 +00:00
Dan Davison d67936b68f add initial smoke tests and documentation 2018-08-20 18:13:54 +00:00
Toon Claes 13afac6533 First version of pry_debugging.md 2018-07-20 11:56:17 +02:00
Winnie Hellmann d8013704b6 Document that we don't want to wait in tests 2018-07-09 14:53:33 +00:00
Winnie Hellmann 0fbd948b8d Add link to hack for styling Capybara HTML dumps 2018-05-31 14:03:46 +00:00
Rémy Coutable 920becb784 Merge branch 'backstage/gb/improve-fast-specs-helper' into 'master'
Improve fast specs helper to autoload the library

See merge request gitlab-org/gitlab-ce!18903
2018-05-15 13:27:04 +00:00
Grzegorz Bizon 7186f0de65 Improve testing best practices guidelines
It mentions that explicitly defining dependencies in sources is
preferred over defining such dependencies only in spec files.
2018-05-15 14:43:39 +02:00
Grzegorz Bizon d134c0fb70 Update docs describing `fast_spec_helper` best practices 2018-05-15 10:38:00 +02:00
blackst0ne c3882c2611 Clean up docs 2018-05-14 18:53:57 +11:00
Stan Hu 204af2e101 Support resetting of Prometheus metrics between test runs
Adding the :prometheus tag to an rspec test will clear out
memory-mapped files and reset the registry.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39968
2018-05-09 14:33:42 -07:00
Mike Greiling 6b1e4ad5e8 Fix memory and performance issues in Karma test suite 2018-05-01 17:40:35 +00:00
Pascal Borreli 12e3eff462 Fixed typos 2018-04-27 08:50:05 +00:00
Clement Ho b173e56461 Merge branch '30998-add-babel-rewire-plugin' into 'master'
Resolve "Add some way to mock and spy on default ES modules"

Closes #30998

See merge request gitlab-org/gitlab-ce!18116
2018-04-24 14:00:59 +00:00
Michael Kozono 407a800456 Add Capybara debugging methods to docs 2018-04-23 19:52:45 +00:00
Rémy Coutable 5b44097cf7
Address latest feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 13:02:07 +02:00
Rémy Coutable fe919f95b1
Document the new 'spec/fast_spec_helper.rb' file
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Rémy Coutable 023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Mike Greiling 44783480be
document the spyOnDependency method 2018-04-23 00:54:21 -05:00
Grzegorz Bizon 27a5deea38 Rename #qa slack channel to #quality in docs 2018-04-19 09:28:08 +02:00
Lukas Eipert bd1b2c665f
use commander for safer cli argument parsing 2018-04-11 00:34:18 +02:00
Lukas Eipert 029180f016
add documentation for karma testing with specific files/folders 2018-04-10 12:03:46 +02:00
Toon Claes 88dffa45ce Rename `package-qa` in docs
In gitlab-org/gitlab-ce!17807 the `package-qa` job was renamed to
`package-and-qa`. But it was not renamed in the docs. So this change
fixes that.
2018-03-19 10:04:23 +01:00
Rémy Coutable 2bdb578032
Port some RuboCop and doc changes from EE
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-13 16:33:00 +01:00
Clement Ho b593565538 Add note about live_debug only working on javascript enabled specs 2018-01-22 17:50:39 +00:00
Anwar El Wakil 408e3cc1c4 Update best_practices.md
Remove duplicate list item in "General Guidelines" Section.
2018-01-19 13:15:35 +00:00
Andrew Newdigate 0cc25f0f1b Update end_to_end_tests.md 2018-01-11 12:05:55 +00:00
Grzegorz Bizon 8bdc6c74e8 Rephrase paragraph about e2e tests in merge requests in docs 2018-01-05 15:32:41 +01:00
Grzegorz Bizon e8acb3f117 Copy-edit end-to-end testing guide documentation 2018-01-04 12:09:14 +01:00
Grzegorz Bizon 124ffb2134 Fix link to end-to-end testing docs from test pyramid 2018-01-02 14:42:28 +01:00
Grzegorz Bizon 1aa25a3fe3 Copy-edit end-to-end testing guidelines 2018-01-02 14:37:01 +01:00
Grzegorz Bizon 51bb5abe26 Link to end to end test guideline from test pyramid 2018-01-02 14:30:29 +01:00
Grzegorz Bizon 629d966c48 Extend documentation on end-to-end integration tests 2018-01-02 14:22:48 +01:00
Grzegorz Bizon 1f50eb4f57 Add docs about end-to-end testing / GitLab QA tests 2018-01-02 13:39:09 +01:00
Rémy Coutable 4af9d592c5 Replace factory_girl_rails with factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:

```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14 15:01:55 +01:00
Marcia Ramos 506a4e7530 Merge branch 'docs/gitlab-runner' into 'master'
Change to new GitLab Runner name

Closes #39636

See merge request gitlab-org/gitlab-ce!15101
2017-11-02 12:33:35 +00:00
Douwe Maan 4d6830ec50 Merge branch 'patch-28' into 'master'
Add debugging section to testing_guide/best_practices.md.

See merge request gitlab-org/gitlab-ce!14858
2017-11-02 11:58:54 +00:00
Rémy Coutable 0364e07447
Address Douwe's feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-02 12:02:51 +01:00
Achilleas Pipinellis 69b4c5c011 Exclude comments from specific docs 2017-11-01 15:56:40 +00:00
Achilleas Pipinellis 6bd2d594d7
Change to new GitLab Runner name 2017-10-31 11:20:40 +02:00
Rémy Coutable 1c17ddba66
Simplify the live debugger resume mechanism: press any key
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-26 18:03:33 +02:00
Eric Eastwood 43377979c6 Check for element before evaluate_script
Tip from
https://robots.thoughtbot.com/write-reliable-asynchronous-integration-tests-with-capybara#directly-interacting-with-javascript
2017-10-19 14:01:15 -05:00
Rémy Coutable a3368a988d
Improve the LiveDebugger exit handler and documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-17 17:42:21 +02:00