diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-16 02:20:39 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-16 02:20:39 -0700 |
commit | 541a082c9fdfdf8f3999fda894e5e1feb10158a8 (patch) | |
tree | c025d1d7f3e724cb33844bc20798f11da6c34bff /spec/features/snippets | |
parent | ebd5c309a8182f842f3e1b95047ed9e03bb0a1e6 (diff) | |
download | gitlab-ce-541a082c9fdfdf8f3999fda894e5e1feb10158a8.tar.gz |
Rename find('.ace_editor') -> find('.ace_text-input') to make Chrome happy
Diffstat (limited to 'spec/features/snippets')
-rw-r--r-- | spec/features/snippets/user_creates_snippet_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/snippets/user_creates_snippet_spec.rb b/spec/features/snippets/user_creates_snippet_spec.rb index d732383a1e1..0b9ad37f0e9 100644 --- a/spec/features/snippets/user_creates_snippet_spec.rb +++ b/spec/features/snippets/user_creates_snippet_spec.rb @@ -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' |