summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-10-25 12:50:56 +0200
committerWinnie Hellmann <winnie@gitlab.com>2018-10-26 09:31:01 +0200
commit245e5e60a620f7dcb7081cda7db13040335c1e1d (patch)
treea3e28a0e5fc2a26490014b9475e08d9cab290e51
parent5f61742be15892579dea892cd7b5d128e6bec4ca (diff)
downloadgitlab-ce-245e5e60a620f7dcb7081cda7db13040335c1e1d.tar.gz
Fix heading levels
-rw-r--r--doc/development/new_fe_guide/development/testing.md5
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: