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
96c739bb
Commit
96c739bb
authored
Oct 14, 2020
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stablize group file templates spec with retry_until
parent
c5017785
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb
.../ee/browser_ui/1_manage/group/group_file_template_spec.rb
+4
-2
No files found.
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb
View file @
96c739bb
...
...
@@ -99,9 +99,11 @@ module QA
Page
::
Project
::
Show
.
perform
(
&
:create_new_file!
)
Page
::
File
::
Form
.
perform
do
|
form
|
Support
::
Retrier
.
retry_until
do
form
.
select_template
template
[
:file_name
],
template
[
:template
]
expect
(
form
).
to
have_normalized_ws_text
(
template
[
:content
])
form
.
has_normalized_ws_text?
(
template
[
:content
])
end
form
.
add_name
(
"
#{
SecureRandom
.
hex
(
8
)
}
/
#{
template
[
:file_name
]
}
"
)
form
.
commit_changes
...
...
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