Skip to content

Commit 72228eb

Browse files
committed
MTA-4096: Ignore functional test failures caused by Magento issues
- added workaround into shipping block
1 parent 6db2b2a commit 72228eb

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ public function selectShippingMethod(array $shipping)
122122
$this->openEstimateShippingAndTax();
123123
}
124124
$element = $this->_rootElement->find($selector, Locator::SELECTOR_XPATH);
125+
126+
if (!empty($element->getAttribute('checked'))) {
127+
return;
128+
}
129+
125130
if (!$element->isDisabled()) {
126131
$element->click();
127132
} else {

0 commit comments

Comments
 (0)