Merge pull request #3960 from mkllnk/test-spec-stability

Remove retries from previously flaky specs
This commit is contained in:
Maikel
2019-07-02 13:50:16 +10:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ feature '
expect(o.order_cycle).to eq(@order_cycle)
end
scenario "can add a product to an existing order", retry: 3 do
scenario "can add a product to an existing order" do
quick_login_as_admin
visit '/admin/orders'

View File

@@ -426,7 +426,7 @@ feature "
select2_select hub.name, from: 'hub_id'
end
it "alerts the user to the presence of new products, and allows them to be added or hidden", retry: 3 do
it "alerts the user to the presence of new products, and allows them to be added or hidden" do
expect(page).to have_no_selector "table#variant-overrides tr#v_#{variant1.id}"
expect(page).to have_no_selector "table#variant-overrides tr#v_#{variant2.id}"

View File

@@ -1,6 +1,6 @@
require 'spec_helper'
feature "As a consumer I want to check out my cart", js: true, retry: 3 do
feature "As a consumer I want to check out my cart", js: true do
include AuthenticationWorkflow
include ShopWorkflow
include CheckoutWorkflow

View File

@@ -1,6 +1,6 @@
require 'spec_helper'
feature "shopping with variant overrides defined", js: true, retry: 3 do
feature "shopping with variant overrides defined", js: true do
include AuthenticationWorkflow
include WebHelper
include ShopWorkflow