AgileVentures / MetPlus_tracker

Git Repository for the Waffle issue in MetPlus project
2 stars 4 forks source link

intermittent fail #733

Closed tansaku closed 5 years ago

tansaku commented 5 years ago

Just had the following fail twice in semaphore:

cucumber features/sorting_job_applications.feature:46

    Then I click the "Title" link                                             # features/step_definitions/web_steps.rb:96
    And I wait for 1 second                                                   # features/step_definitions/web_steps.rb:88
    And I should see a link "Title" pointing to "job_title+desc"              # features/step_definitions/web_steps.rb:306
      expected to find css "a[href$='job_title+desc']" but there were no matches (RSpec::Expectations::ExpectationNotMetError)
      features/sorting_job_applications.feature:64:in `And I should see a link "Title" pointing to "job_title+desc"'

I added the phantomjs gem locally to get it to run on my machine, but it passes locally ...

tansaku commented 5 years ago

we've fixed this by adding the ability to skip intermittent tests and to run second_try on the build - thanks to @mattwr18 for getting this done