Commit 0571150b authored by Robert Speicher's avatar Robert Speicher Committed by Jose Ivan Vargas

Merge branch 'sh-improve-flaky-ace-editor-spec' into 'master'

Improve flaky ACE editor spec

See merge request !13854
parent 191bed1d
......@@ -56,11 +56,10 @@ describe 'User creates files' do
find('.add-to-tree').click
click_link('New file')
expect(page).to have_selector('.file-editor')
end
it 'creates and commit a new file', js: true do
expect(page).to have_selector('.file-editor')
execute_script("ace.edit('editor').setValue('*.rbca')")
fill_in(:file_name, with: 'not_a_file.md')
fill_in(:commit_message, with: 'New commit message', visible: true)
......
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