9 use Magento\Mtf\Client\Locator;
78 $this->eventManager->dispatchEvent([
'set_value'], [__METHOD__, $this->getAbsoluteSelector()]);
86 $searchedItem = $this->
find(sprintf($this->resultItem,
$value), Locator::SELECTOR_XPATH);
87 $searchedCountElements = $this->
find($this->searchedCount);
89 function () use ($searchedCountElements) {
90 return $searchedCountElements->isVisible() ? true :
null;
93 $searchedItem->click();
106 public function keys(array $keys)
108 if (!$this->
find($this->selectInput)->isVisible()) {
109 $this->
find($this->advancedSelect)->click();
111 $input = $this->
find($this->selectInput);
125 while (
$element->getValue() !=
'') {
137 $this->
find($this->searchLabel)->click();
147 $this->eventManager->dispatchEvent([
'get_value'], [__METHOD__, $this->getAbsoluteSelector()]);
149 return $this->
find($this->advancedSelect)->getValue();
160 $needle = $this->
find($this->
searchResult)->find(sprintf($this->resultItem,
$value), Locator::SELECTOR_XPATH);
161 $keys = str_split(
$value);
163 if ($needle->isVisible()) {
166 }
catch (\Exception $e) {
isExistValueInSearchResult($value)
taxRateField find('.mselect-list') .on( 'click.mselect-edit'