Fixes rebase

This commit is contained in:
filipefurtad0
2024-05-20 19:40:09 +01:00
committed by David Cook
parent 9e25893401
commit 6dfef8104d
2 changed files with 1 additions and 12 deletions

View File

@@ -414,17 +414,6 @@ RSpec.describe '
# we need this assertion here to assure there is enough time to
# toggle the variant box and evaluate the following assertion
expect(page).to have_content product.name.upcase
# we need this assertion here to assure there is enough time to
# toggle the variant box and evaluate the following assertion
expect(page).to have_content product.name
# iterates between true / false, depending on the test case
expectation = expect_message ? :to : :not_to
expect(page).public_send(expectation,
have_content(%(No variant available for this product
(hidden via inventory settings)).squish))
end
end
it "doesn't show a warning when going to 'outgoing products' tab" do

View File

@@ -1652,7 +1652,7 @@ RSpec.describe 'As an enterprise user, I can manage my products', feature: :admi
expect {
find("button.secondary.condensed.naked.icon-plus").click
}.to change{
page.all("input[aria-label=Name][placeholder='#{product.name}']", visible: false).count
page.all("input[aria-label=Name][placeholder='#{product.name}']", visible: false).count
}.from(1).to(2)
# When I fill out variant details and hit update