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
3e0757f2
Commit
3e0757f2
authored
Aug 28, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sh-improve-flaky-ace-editor-spec' into 'master'
Improve flaky ACE editor spec See merge request !13854
parents
3dd1efe6
e6c13d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
spec/features/projects/user_creates_files_spec.rb
spec/features/projects/user_creates_files_spec.rb
+1
-2
No files found.
spec/features/projects/user_creates_files_spec.rb
View file @
3e0757f2
...
@@ -56,11 +56,10 @@ describe 'User creates files' do
...
@@ -56,11 +56,10 @@ describe 'User creates files' do
find
(
'.add-to-tree'
).
click
find
(
'.add-to-tree'
).
click
click_link
(
'New file'
)
click_link
(
'New file'
)
expect
(
page
).
to
have_selector
(
'.file-editor'
)
end
end
it
'creates and commit a new file'
,
js:
true
do
it
'creates and commit a new file'
,
js:
true
do
expect
(
page
).
to
have_selector
(
'.file-editor'
)
execute_script
(
"ace.edit('editor').setValue('*.rbca')"
)
execute_script
(
"ace.edit('editor').setValue('*.rbca')"
)
fill_in
(
:file_name
,
with:
'not_a_file.md'
)
fill_in
(
:file_name
,
with:
'not_a_file.md'
)
fill_in
(
:commit_message
,
with:
'New commit message'
,
visible:
true
)
fill_in
(
:commit_message
,
with:
'New commit message'
,
visible:
true
)
...
...
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