Skip to content

Commit

Permalink
Merge pull request #6601 from magento-tsg/MC-38817-p1
Browse files Browse the repository at this point in the history
[Arrows] MC-38817: [MFTF] fix some ASI tests because of bad design (Part 1)
  • Loading branch information
zakdma authored Feb 8, 2021
2 parents 3b397a9 + 7f4b95d commit 55c4ff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<amOnPage url="{{AdminStandaloneMediaGalleryPage.url}}" stepKey="openMediaGalleryPage"/>
<!-- It sometimes is loading too long for default 10s -->
<waitForPageLoad time="60" stepKey="waitForPageFullyLoaded"/>
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearExistingFilters"/>
<conditionalClick selector="{{AdminEnhancedMediaGalleryFiltersSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearExistingFilters"/>
<helper class="\Magento\MediaGalleryUi\Test\Mftf\Helper\MediaGalleryUiHelper" method="deleteAllImagesUsingMassAction" stepKey="deleteAllImagesUsingMassAction">
<argument name="emptyRow">{{AdminMediaGalleryGridSection.noDataMessage}}</argument>
<argument name="deleteImagesButton">{{AdminEnhancedMediaGalleryMassActionSection.deleteImages}}</argument>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
<element name="searchOptionsFilterDone" type="button" selector="//div[label/span[contains(text(), '{{filterName}}')]]//button[@data-action='close-advanced-select']" parameterized="true"/>
<element name="duplicatedFilterCheckbox" type="button" selector="//input[@name='duplicated']"/>
<element name="activeFilterValue" type="text" selector="//div[@class='media-gallery-container']//div[@class='admin__current-filters-list-wrap']//li//span[contains(text(), '{{filterPlaceholder}}')]" parameterized="true"/>
<element name="clearFilters" type="button" selector="//div[@class='media-gallery-container']//div[@class='admin__data-grid-header']//button[@data-action='grid-filter-reset']" timeout="30"/>
</section>
</sections>

0 comments on commit 55c4ff8

Please sign in to comment.