From 14a70c11fc27c4b226fe6f84c1ea9021305bca8a Mon Sep 17 00:00:00 2001 From: Maxim Uroda Date: Tue, 15 Sep 2015 15:16:37 +0200 Subject: [PATCH] Fixed error on the checkout flow when "flatrate_flatrate" shipping method is unavailable. --- tests/_support/Page/Acceptance/Checkout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_support/Page/Acceptance/Checkout.php b/tests/_support/Page/Acceptance/Checkout.php index 57dbcd1..bddcb6e 100644 --- a/tests/_support/Page/Acceptance/Checkout.php +++ b/tests/_support/Page/Acceptance/Checkout.php @@ -30,8 +30,8 @@ class Checkout public static $paymentButtonsContainer = '#payment-buttons-container'; public static $checkoutReviewContainer = '#checkout-review-submit'; - public static $shippingMethodInput = '#s_method_flatrate_flatrate'; - public static $shippingMethod = 'flatrate_flatrate'; + public static $shippingMethodInput = 'form input[name=shipping_method]'; + public static $shippingMethod = ''; public static $paymentMethod = '#p_method_checkmo'; /**