Commit f929f8fb authored by Phil Hughes's avatar Phil Hughes

Merge branch 'fe-fix-rspec-snippet-description-selector' into 'master'

Fix rspec selector for js-description-input

See merge request gitlab-org/gitlab!25937
parents d488980b 6a728a18
...@@ -9,7 +9,7 @@ describe 'Projects > Snippets > Create Snippet', :js do ...@@ -9,7 +9,7 @@ describe 'Projects > Snippets > Create Snippet', :js do
let_it_be(:project) { create(:project, :public) } let_it_be(:project) { create(:project, :public) }
def description_field def description_field
find('.js-description-input input,textarea') find('.js-description-input').find('input,textarea')
end end
def fill_form def fill_form
......
...@@ -6,7 +6,7 @@ describe 'User creates snippet', :js do ...@@ -6,7 +6,7 @@ describe 'User creates snippet', :js do
let(:user) { create(:user) } let(:user) { create(:user) }
def description_field def description_field
find('.js-description-input input,textarea') find('.js-description-input').find('input,textarea')
end end
before do before do
......
...@@ -14,7 +14,7 @@ describe 'User creates snippet', :js do ...@@ -14,7 +14,7 @@ describe 'User creates snippet', :js do
end end
def description_field def description_field
find('.js-description-input input,textarea') find('.js-description-input').find('input,textarea')
end end
def fill_form def fill_form
......
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