Read more

Fix randomly failing PDF cucumber tests

Deleted user #6
May 16, 2011Software engineer

Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this with this step:

When PDF generation is ready
And I follow "Save as PDF"
# Checks for PDF contents go here
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Here is the step definition:

When /^PDF generation is ready$/ do
  Then 'I should see ""'
end
Posted to makandra dev (2011-05-16 12:29)