Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SynonymGroupGrid.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Mtf\Client\Element\SimpleElement;
11 
16 {
22  protected $selectAction = '.action-select';
23 
29  protected $filters = [
30  'synonyms' => [
31  'selector' => '[name="synonyms"]',
32  ],
33  'scope_id' => [
34  'selector' => '[name="scope_id"]',
35  'input' => 'simplifiedselect'
36  ],
37  'group_id' => [
38  'selector' => '[name="group_id"]',
39  ],
40  'website_id' => [
41  'selector' => '[name="website_id"]',
42  'input' => 'select',
43  ],
44  ];
45 
52  protected function clickEditLink(SimpleElement $rowItem)
53  {
54  $rowItem->find($this->selectAction)->click();
55  $rowItem->find($this->editLink)->click();
56  }
57 }