Skip to content

Commit d1d8769

Browse files
committed
MAGETWO-52385: Order data is not transferred to new order when making Reorder
1 parent 17d494d commit d1d8769

File tree

1 file changed

+3
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/Create/Shipping

1 file changed

+3
-1
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/Create/Shipping/Method.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class Method extends Block
3636
*/
3737
public function selectShippingMethod(array $shippingMethod)
3838
{
39-
$this->_rootElement->find($this->shippingMethodsLink)->click();
39+
if ($this->_rootElement->find($this->shippingMethodsLink)->isVisible()) {
40+
$this->_rootElement->find($this->shippingMethodsLink)->click();
41+
}
4042
$selector = sprintf(
4143
$this->shippingMethod,
4244
$shippingMethod['shipping_service'],

0 commit comments

Comments
 (0)