mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Merge pull request #7496 from jibees/4957-flaky-specs
Uncomment flaky spec on variant_overrides_spec.rb
This commit is contained in:
@@ -192,7 +192,7 @@ feature "
|
||||
end
|
||||
end
|
||||
|
||||
xit "displays an error when unauthorised to access the page" do
|
||||
it "displays an error when unauthorised to access the page" do
|
||||
fill_in "variant-overrides-#{variant.id}-price", with: '777.77'
|
||||
fill_in "variant-overrides-#{variant.id}-count_on_hand", with: '123'
|
||||
expect(page).to have_content "Changes to one override remain unsaved."
|
||||
@@ -209,7 +209,7 @@ feature "
|
||||
end.to change(VariantOverride, :count).by(0)
|
||||
end
|
||||
|
||||
xit "displays an error when unauthorised to update a particular override" do
|
||||
it "displays an error when unauthorised to update a particular override" do
|
||||
fill_in "variant-overrides-#{variant_related.id}-price", with: '777.77'
|
||||
fill_in "variant-overrides-#{variant_related.id}-count_on_hand", with: '123'
|
||||
expect(page).to have_content "Changes to one override remain unsaved."
|
||||
|
||||
Reference in New Issue
Block a user