Skip to content

Commit

Permalink
Fixed flaky spec
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec committed Dec 3, 2021
1 parent 11f945d commit 92bdf50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/features/admin/configuration/tax_rates_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
within find('#contentHeader') do
click_link 'New Tax Rate'
end
fill_in 'Name', with: 'My Tax'
fill_in 'Rate', with: '0.05'
click_button 'Create'
expect(page).to have_content('Tax Rate has been successfully created!')
expect(page).to have_content('Tax Rate "My Tax" has been successfully created!')
end
end

0 comments on commit 92bdf50

Please sign in to comment.