Skip to content

Commit ed44e7f

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-53784' into BUGS
2 parents 7bc9366 + 853db08 commit ed44e7f

File tree

1 file changed

+17
-0
lines changed
  • dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart

1 file changed

+17
-0
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/Shipping.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ class Shipping extends Form
5858
*/
5959
protected $blockWaitElement = '._block-content-loading';
6060

61+
/**
62+
* Get shipping price selector for exclude and include price
63+
*
64+
* @var string
65+
*/
66+
protected $commonShippingPriceSelector = '.shipping .price';
67+
6168
/**
6269
* Open estimate shipping and tax form.
6370
*
@@ -158,4 +165,14 @@ public function waitForUpdatedShippingMethods()
158165
sleep(1);
159166
$this->waitForElementNotVisible($this->blockWaitElement);
160167
}
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+
}
161178
}

0 commit comments

Comments
 (0)