Skip to content

Commit 6d7612c

Browse files
committed
MAGETWO-39479: Pull request processing
1 parent 0e3ed7b commit 6d7612c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/Grid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ public function getPurchasePointStoreGroups()
100100
{
101101
$this->openFilterBlock();
102102
$storeGroupElements = $this->_rootElement->find($this->purchasePointFilter)
103-
->getElements('.//optgroup[./option]', Locator::SELECTOR_XPATH);
103+
->getElements('//option/preceding-sibling::optgroup[1]', Locator::SELECTOR_XPATH);
104104
$result = [];
105105

106106
foreach ($storeGroupElements as $storeGroupElement) {
107-
$result[] = trim($storeGroupElement->getAttribute('label'), ' ');
107+
$result[] = trim($storeGroupElement->getAttribute('label'));
108108
}
109109

110110
return $result;

0 commit comments

Comments
 (0)