Sha256: 2a285c426c9554de925ae2cad797ef16555f5422c5968a96608867fb51d5a15c
Contents?: true
Size: 790 Bytes
Versions: 11
Compression:
Stored size: 790 Bytes
Contents
When(/^I export people list$/) do find("[href$=xlsx]").click end Then(/^the file is downloaded$/) do # Nothing to do, error appears in previous step if any problem end Given(/^a very long comment on this person$/) do text = Faker::Lorem.paragraph(10) @comment = create(:customer_vault_event_comment, person: @person, text: text) end Then(/^I see the truncated comment$/) do expect(page).to have_selector(".comment-text-truncated") expect(page).to have_no_selector(".comment-text") end Then(/^I see the full comment$/) do expect(page).to have_selector(".comment-text") expect(page).to have_no_selector(".comment-text-truncated") end Given(/^a short comment on this person$/) do @comment = create(:customer_vault_event_comment, person: @person, text: "i am short") end
Version data entries
11 entries across 11 versions & 1 rubygems