Selectors must be written in lowercase with hyphens
This commit is contained in:
parent
73caee0ff3
commit
c10c2fc31b
131 changed files with 405 additions and 404 deletions
|
@ -9,14 +9,14 @@ feature 'user is on description page' do
|
|||
|
||||
visit users_dossier_description_path dossier
|
||||
|
||||
within('#new_user') do
|
||||
within('#new-user') do
|
||||
page.find_by_id('user_email').set dossier.user.email
|
||||
page.find_by_id('user_password').set dossier.user.password
|
||||
page.click_on 'Se connecter'
|
||||
end
|
||||
end
|
||||
|
||||
it { expect(page).to have_css('#description_page') }
|
||||
it { expect(page).to have_css('#description-page') }
|
||||
|
||||
context 'he fill description fields' do
|
||||
before do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue