Commit 620fc2d0 authored by Ray Paik's avatar Ray Paik

Merge branch 'typos-in-testing-guide-docs' into 'master'

docs: Fix typos in Development Testing Guide

See merge request gitlab-org/gitlab!41237
parents db3a9642 e2fe3d8a
...@@ -74,7 +74,7 @@ let(:project) { create(:project) } ...@@ -74,7 +74,7 @@ let(:project) { create(:project) }
let(:project) { build(:project) } let(:project) { build(:project) }
``` ```
[Factory Profiler](https://test-prof.evilmartians.io/#/profilers/factory_prof) can help to identify repetitive database persistance via factories. [Factory Profiler](https://test-prof.evilmartians.io/#/profilers/factory_prof) can help to identify repetitive database persistence via factories.
```shell ```shell
# run test for path # run test for path
......
...@@ -84,7 +84,7 @@ See the [`RSpec.describe` outer block](#the-outer-rspecdescribe-block) ...@@ -84,7 +84,7 @@ See the [`RSpec.describe` outer block](#the-outer-rspecdescribe-block)
CAUTION: **Deprecation notice:** CAUTION: **Deprecation notice:**
The outer `context` [was deprecated](https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/550) in `13.2` The outer `context` [was deprecated](https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/550) in `13.2`
in adherance to RSpec 4.0 specifications. Use `RSpec.describe` instead. in adherence to RSpec 4.0 specifications. Use `RSpec.describe` instead.
### The outer `RSpec.describe` block ### The outer `RSpec.describe` block
......
...@@ -230,7 +230,7 @@ it('exists', () => { ...@@ -230,7 +230,7 @@ it('exists', () => {
// Best // Best
// NOTE: both mount and shallowMount work as long as a DOM element is available // NOTE: both mount and shallowMount work as long as a DOM element is available
// Finds a properly formatted link with an accessable name of "Click Me" // Finds a properly formatted link with an accessible name of "Click Me"
getByRole(el, 'link', { name: /Click Me/i }) getByRole(el, 'link', { name: /Click Me/i })
getByRole(el, 'link', { name: 'Click Me' }) getByRole(el, 'link', { name: 'Click Me' })
// Finds any element with the text "Click Me" // Finds any element with the text "Click Me"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment