Skip to content

Commit 81aec79

Browse files
committed
MTA-3864: Create auto test to check Cancel checkout
1 parent 8799873 commit 81aec79

File tree

1 file changed

+3
-0
lines changed
  • dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml

1 file changed

+3
-0
lines changed

dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml/DataGrid.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,16 @@ public function sortGridByField($field, $sort = "desc")
389389
}
390390

391391
/**
392+
* Sort grid by column.
393+
*
392394
* @param string $columnLabel
393395
*/
394396
public function sortByColumn($columnLabel)
395397
{
396398
$this->waitLoader();
397399
$this->getTemplateBlock()->waitForElementNotVisible($this->loader);
398400
$this->_rootElement->find(sprintf($this->columnHeader, $columnLabel), Locator::SELECTOR_XPATH)->click();
401+
$this->waitLoader();
399402
}
400403

401404
/**

0 commit comments

Comments
 (0)