diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-10-25 13:50:56 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-10-26 10:31:01 +0300 |
commit | 245e5e60a620f7dcb7081cda7db13040335c1e1d (patch) | |
tree | a3e28a0e5fc2a26490014b9475e08d9cab290e51 /doc/development/new_fe_guide | |
parent | 5f61742be15892579dea892cd7b5d128e6bec4ca (diff) |
Fix heading levels
Diffstat (limited to 'doc/development/new_fe_guide')
-rw-r--r-- | doc/development/new_fe_guide/development/testing.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/development/new_fe_guide/development/testing.md b/doc/development/new_fe_guide/development/testing.md index 0afb4874ffd..cc0f62ba825 100644 --- a/doc/development/new_fe_guide/development/testing.md +++ b/doc/development/new_fe_guide/development/testing.md @@ -267,7 +267,7 @@ expect(page).not_to have_selector('.card') ## Test helpers -#### Vuex Helper: `testAction` +### Vuex Helper: `testAction` We have a helper available to make testing actions easier, as per [official documentation](https://vuex.vuejs.org/en/testing.html): @@ -290,7 +290,7 @@ testAction( Check an example in [spec/javascripts/ide/stores/actions_spec.jsspec/javascripts/ide/stores/actions_spec.js](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/javascripts/ide/stores/actions_spec.js). -#### Vue Helper: `mountComponent` +### Vue Helper: `mountComponent` To make mounting a Vue component easier and more readable, we have a few helpers available in `spec/helpers/vue_mount_component_helper`. @@ -326,6 +326,7 @@ afterEach(() => { vm.$destroy(); }); ``` + ## Testing with older browsers Some regressions only affect a specific browser version. We can install and test in particular browsers with either Firefox or Browserstack using the following steps: |