Sha256: 8eee53c33e4bba8e372d481841faf3339e2830deb6f31aef5d6f10510ab1c697
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 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 @comment = create(:customer_vault_event_comment, person: @person, text: Faker::Lorem.paragraph(10)) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dorsale-3.8.1 | features/step_definitions/customer_vault_people_steps.rb |
dorsale-3.8.0 | features/step_definitions/customer_vault_people_steps.rb |