Skip to content

Commit

Permalink
SCENARIO : Delete a picture from a document (see #187)
Browse files Browse the repository at this point in the history
Co-Authored-By: Fabien Petit <[email protected]>
Co-Authored-By: Louis Duhal Berruer <[email protected]>
  • Loading branch information
3 people authored and nitram35 committed Jun 19, 2024
1 parent 42ac3e8 commit 5f6c867
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions features/step_definitions/outcome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,25 +92,10 @@
expect(find('.main .work')).to have_content "<TITLE>"
end

Alors('je peux lire {string} dans la liste des types') do |text|
expect(find('.list-group')).to have_content text
end

Alors('je ne peux pas lire {string} ans la liste des types') do |text|
expect(find('.list-group')).not_to have_content text
end

Alors('je ne peux rien lire dans la liste des types') do
expect(find('.list-group')).not_to have_content "Ethnography/Report"
expect(find('.list-group')).not_to have_content "Ethnography/Analysis"
expect(find('.list-group')).not_to have_content "Ethnography/Interview"
end

Alors("je ne vois pas le document intitulé {string}") do |title|
expect(page).not_to have_content(title)
end

Alors("je ne vois pas l'image {string}") do |image_name|
expect(page)
end

end

0 comments on commit 5f6c867

Please sign in to comment.