Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e2fe3d8a
Commit
e2fe3d8a
authored
Sep 03, 2020
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in Development Testing Guide
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
6db15755
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
doc/development/testing_guide/best_practices.md
doc/development/testing_guide/best_practices.md
+1
-1
doc/development/testing_guide/end_to_end/beginners_guide.md
doc/development/testing_guide/end_to_end/beginners_guide.md
+1
-1
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+1
-1
No files found.
doc/development/testing_guide/best_practices.md
View file @
e2fe3d8a
...
...
@@ -74,7 +74,7 @@ let(:project) { create(:project) }
let
(
:project
)
{
build
(
:project
)
}
```
[
Factory Profiler
](
https://test-prof.evilmartians.io/#/profilers/factory_prof
)
can help to identify repetitive database persist
a
nce via factories.
[
Factory Profiler
](
https://test-prof.evilmartians.io/#/profilers/factory_prof
)
can help to identify repetitive database persist
e
nce via factories.
```
shell
# run test for path
...
...
doc/development/testing_guide/end_to_end/beginners_guide.md
View file @
e2fe3d8a
...
...
@@ -84,7 +84,7 @@ See the [`RSpec.describe` outer block](#the-outer-rspecdescribe-block)
CAUTION:
**Deprecation notice:**
The outer
`context`
[
was deprecated
](
https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/550
)
in
`13.2`
in adher
a
nce to RSpec 4.0 specifications. Use
`RSpec.describe`
instead.
in adher
e
nce to RSpec 4.0 specifications. Use
`RSpec.describe`
instead.
### The outer `RSpec.describe` block
...
...
doc/development/testing_guide/frontend_testing.md
View file @
e2fe3d8a
...
...
@@ -230,7 +230,7 @@ it('exists', () => {
// Best
// NOTE: both mount and shallowMount work as long as a DOM element is available
// Finds a properly formatted link with an access
a
ble name of "Click Me"
// Finds a properly formatted link with an access
i
ble name of "Click Me"
getByRole
(
el
,
'
link
'
,
{
name
:
/Click Me/i
})
getByRole
(
el
,
'
link
'
,
{
name
:
'
Click Me
'
})
// Finds any element with the text "Click Me"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment