We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db2b2a commit 72228ebCopy full SHA for 72228eb
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/Shipping.php
@@ -122,6 +122,11 @@ public function selectShippingMethod(array $shipping)
122
$this->openEstimateShippingAndTax();
123
}
124
$element = $this->_rootElement->find($selector, Locator::SELECTOR_XPATH);
125
+
126
+ if (!empty($element->getAttribute('checked'))) {
127
+ return;
128
+ }
129
130
if (!$element->isDisabled()) {
131
$element->click();
132
} else {
0 commit comments