Sha256: 7b432a84825ba58249f7e880d6d80e3ef08097ebac4d0f724ec533bab37dd3f1

Contents?: true

Size: 760 Bytes

Versions: 12

Compression:

Stored size: 760 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(:dorsale_comment, commentable: @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(:dorsale_comment, commentable: @person, text: "i am short")
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dorsale-3.7.8 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.7 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.6 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.5 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.4 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.2 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.1 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.7.0 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.6.1 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.6.0 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.5.2 features/step_definitions/customer_vault_people_steps.rb
dorsale-3.5.1 features/step_definitions/customer_vault_people_steps.rb