Commit Graph

246 Commits

Author SHA1 Message Date
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