Remove sleeps - these should be covered by increased capybara wait time now

This commit is contained in:
Rohan Mitchell
2014-05-02 14:25:06 +10:00
parent 930bc2b7ce
commit 1d5f0042d4
2 changed files with 0 additions and 4 deletions

View File

@@ -584,7 +584,6 @@ feature %q{
first("a.delete-product").click
sleep(0.5) if page.has_selector? "a.delete-product", :count => 3 # Wait for product to be removed from page
page.should have_selector "a.delete-product", :count => 2
visit '/admin/products/bulk_edit'
@@ -606,7 +605,6 @@ feature %q{
first("a.delete-variant").click
sleep(0.5) if page.has_selector? "a.delete-variant", :count => 3 # Wait for variant to be removed from page
page.should have_selector "a.delete-variant", :count => 2
visit '/admin/products/bulk_edit'

View File

@@ -95,7 +95,6 @@ feature "As a consumer I want to check out my cart", js: true do
fill_in "Postcode", with: "3066"
end
click_button "Purchase"
sleep 10
page.should have_content "Your order has been processed successfully"
# It sends a confirmation email containing the distributor info, pickup time and pickup instructions
@@ -138,7 +137,6 @@ feature "As a consumer I want to check out my cart", js: true do
toggle_accordion "Shipping"
check "Shipping address same as billing address?"
click_button "Purchase"
sleep 10
page.should have_content "Your order has been processed successfully"
end
end