Rename find('.ace_editor') -> find('.ace_text-input') to make Chrome happy
This commit is contained in:
parent
ebd5c309a8
commit
541a082c9f
2 changed files with 3 additions and 3 deletions
|
@ -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_editor').native.send_keys('Hello World!')
|
||||
find('.ace_text-input').native.send_keys('Hello World!')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ feature 'User creates snippet', :js do
|
|||
fill_in 'personal_snippet_title', with: 'My Snippet Title'
|
||||
fill_in 'personal_snippet_description', with: 'My Snippet **Description**'
|
||||
page.within('.file-editor') do
|
||||
find('.ace_editor').native.send_keys 'Hello World!'
|
||||
find('.ace_text-input').native.send_keys 'Hello World!'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -94,7 +94,7 @@ feature 'User creates snippet', :js do
|
|||
fill_in 'personal_snippet_title', with: 'My Snippet Title'
|
||||
page.within('.file-editor') do
|
||||
find(:xpath, "//input[@id='personal_snippet_file_name']").set 'snippet+file+name'
|
||||
find('.ace_editor').native.send_keys 'Hello World!'
|
||||
find('.ace_text-input').native.send_keys 'Hello World!'
|
||||
end
|
||||
|
||||
click_button 'Create snippet'
|
||||
|
|
Loading…
Reference in a new issue