Skip to content

Commit

Permalink
#30372: [Issue] MFTF: Admin Delete CMS Block Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Foxtrot committed Oct 27, 2020
1 parent bebc574 commit 5ba03c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -14,6 +14,6 @@
<element name="checkbox" type="checkbox" selector="//label[@class='data-grid-checkbox-cell-inner']//input[@class='admin__control-checkbox']"/>
<element name="select" type="select" selector="//tr[@class='data-row']//button[@class='action-select']"/>
<element name="editInSelect" type="text" selector="//a[contains(text(), 'Edit')]"/>
<element name="gridDataRow" type="input" selector=".data-row .data-grid-cell-content"/>
<element name="gridDataRow" type="input" selector="//table[@data-role='grid']//tr/td"/>
</section>
</sections>
Expand Up @@ -20,7 +20,7 @@
<element name="URLKey" type="input" selector="//div[@class='admin__form-field-control']/input[@name='identifier']"/>
<element name="ApplyFiltersBtn" type="button" selector="//span[text()='Apply Filters']"/>
<element name="blockGridRowByTitle" type="input" selector="//tbody//tr//td//div[contains(., '{{var1}}')]" parameterized="true" timeout="30"/>
<element name="delete" type="button" selector="//div[text()='{{var1}}']/parent::td//following-sibling::td[@class='data-grid-actions-cell']//a[text()='Delete']" parameterized="true"/>
<element name="deleteConfirm" type="button" selector=".action-primary.action-accept" timeout="60"/>
<element name="delete" type="button" selector="//a[@data-action='item-delete']"/>
<element name="deleteConfirm" type="button" selector="//button[@data-role='action']//span[text()='OK']" timeout="60"/>
</section>
</sections>

0 comments on commit 5ba03c2

Please sign in to comment.