diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-05 16:13:21 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-05 16:13:21 -0500 |
commit | 035bf5d4d5d3209286aa257cbd56ec6ce9e1afb9 (patch) | |
tree | 1a00ae7fae277fb564a29861176a2ed0fcb10257 /spec/features/projects | |
parent | 7449c45d458dae3a121d0c4511cef844dabb4177 (diff) | |
download | gitlab-ce-035bf5d4d5d3209286aa257cbd56ec6ce9e1afb9.tar.gz |
fix create_snipper and diff_notes specs
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/snippets/create_snippet_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/snippets/create_snippet_spec.rb b/spec/features/projects/snippets/create_snippet_spec.rb index 7dc779fa573..e4215291f99 100644 --- a/spec/features/projects/snippets/create_snippet_spec.rb +++ b/spec/features/projects/snippets/create_snippet_spec.rb @@ -10,7 +10,7 @@ feature 'Create Snippet', :js do fill_in 'project_snippet_title', with: 'My Snippet Title' fill_in 'project_snippet_description', with: 'My Snippet **Description**' page.within('.file-editor') do - find('.ace_text-input').native.send_keys('Hello World!') + find('.ace_text-input', visible: false).send_keys('Hello World!') end end @@ -59,7 +59,7 @@ feature 'Create Snippet', :js do fill_form dropzone_file Rails.root.join('spec', 'fixtures', 'banana_sample.gif') - click_button('Create snippet') + find("input[value='Create snippet']").send_keys(:return) wait_for_requests expect(page).to have_content('My Snippet Title') |