add wait for flaky specs

This commit is contained in:
Ahmed Ejaz
2024-04-28 16:19:22 +05:00
committed by Rachel Arnould
parent 227b677e4d
commit 3d60d84fc7

View File

@@ -752,11 +752,13 @@ describe 'As an enterprise user, I can manage my products', feature: :admin_styl
end
within row_containing_name(variant_a1.display_name) do
sleep(0.1)
validate_tomselect_with_search!(
page, "Category",
category_to_select,
categories_search_selector
)
sleep(0.1)
validate_tomselect_with_search!(
page, "Tax Category",
tax_category_to_select,