Merge pull request #7496 from jibees/4957-flaky-specs

Uncomment flaky spec on variant_overrides_spec.rb
This commit is contained in:
Pau Pérez Fabregat
2021-05-07 10:29:36 +02:00
committed by GitHub

View File

@@ -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."