File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,13 @@ class Shipping extends Form
58
58
*/
59
59
protected $ blockWaitElement = '._block-content-loading ' ;
60
60
61
+ /**
62
+ * Get shipping price selector for exclude and include price
63
+ *
64
+ * @var string
65
+ */
66
+ protected $ commonShippingPriceSelector = '.shipping .price ' ;
67
+
61
68
/**
62
69
* Open estimate shipping and tax form.
63
70
*
@@ -158,4 +165,14 @@ public function waitForUpdatedShippingMethods()
158
165
sleep (1 );
159
166
$ this ->waitForElementNotVisible ($ this ->blockWaitElement );
160
167
}
168
+
169
+ /**
170
+ * Wait for common shipping price block to appear
171
+ *
172
+ * @return void
173
+ */
174
+ public function waitForCommonShippingPriceBlock ()
175
+ {
176
+ $ this ->waitForElementVisible ($ this ->commonShippingPriceSelector , Locator::SELECTOR_CSS );
177
+ }
161
178
}
You can’t perform that action at this time.
0 commit comments