9 use Magento\Mtf\Client\ElementInterface;
10 use Magento\Mtf\Client\Locator;
22 protected $rootElement =
'//div[contains(@class, "tree x-tree jstree")]';
29 protected $level =
'/ul/li[contains(@class, "jstree")]';
36 protected $pattern =
'/ul/li[contains(@class, "jstree") and a[text() = "%s"]]';
43 protected $openNode =
'//li[contains(@class, "jstree-open") and a[text() = "%s"]]';
50 protected $closedNode =
'//li[contains(@class, "jstree-closed") and a[text() = "%s"]]';
64 protected $input =
'/a/ins[@class="jstree-checkbox"]';
92 $plusButton = $this->
find(sprintf($this->closedNode,
$element) . $this->input, Locator::SELECTOR_XPATH);
93 if ($plusButton->isVisible()) {
119 $nodes = $this->getElements($nodesSelector, Locator::SELECTOR_XPATH);
prepareValues(array $checkboxes)
waitLoadChildren(ElementInterface $element)
taxRateField find('.mselect-list') .on( 'click.mselect-edit'
displayChildren($element)
getStructure($level=null)
getElementLabel(ElementInterface $element)