Skip to content

Commit

Permalink
test: update to see if image is presnet after save
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset committed Nov 6, 2024
1 parent aa22461 commit 8215754
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
visit questionnaire_edit_path
click_button "Expand all"
expect(page).to have_selector("img[src='#{image_url}']")
#click_button "Save"
#click_button "Expand all"
#expect(page).to have_selector("img[src='#{image_url}']")
click_button "Save"
click_button "Expand all"
expect(page).to have_selector("img[src='#{image_url}']")
#within "#questionnaire_question_#{question.id}-field" do
# within "#questionnaire_question_#{question.id}-description-panel-0" do
# input = page.find("#questionnaire_questions_#{question.id}_description_en")
Expand Down

0 comments on commit 8215754

Please sign in to comment.