Skip to content

Commit c73090b

Browse files
committed
MTO-146: [Test] Create offline Order from "Edit Customer" Admin page
- Defects fixed
1 parent 1ef487b commit c73090b

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/Create/CustomerActivities/Sidebar

1 file changed

+2
-1
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/Create/CustomerActivities/Sidebar/Wishlist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Magento\Sales\Test\Block\Adminhtml\Order\Create\CustomerActivities\Sidebar;
1010
use Magento\Mtf\Client\Locator;
1111
use Magento\Mtf\Fixture\InjectableFixture;
12+
use Magento\Downloadable\Test\Fixture\DownloadableProduct;
1213

1314
/**
1415
* Wish List items block on backend.
@@ -132,7 +133,7 @@ public function selectWishlist($name)
132133
public function selectItemToAddToOrder(InjectableFixture $product, $qty)
133134
{
134135
$productCheckoutData = $product->getData('checkout_data');
135-
if (isset($productCheckoutData['options'])) {
136+
if (isset($productCheckoutData['options']) && !$product instanceof DownloadableProduct) {
136137
$this->_rootElement->find(
137138
sprintf($this->addToOrderGrouped, $product->getName()),
138139
Locator::SELECTOR_XPATH

0 commit comments

Comments
 (0)