Skip to content

Commit

Permalink
Fix specvs
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Nov 21, 2024
1 parent 3c09973 commit 1219458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staff_features/resources/step_definitions/resource_delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

begin
expect(checkboxes[0].checked?).to eq true
rescue Selenium::WebDriver::Error::StaleElementReferenceError => error
rescue Selenium::WebDriver::Error::StaleElementReferenceError => e
sleep 2

number_of_retries += 1

raise error if number_of_retries == 5
raise e if number_of_retries == 5

retry
end
Expand Down

0 comments on commit 1219458

Please sign in to comment.