Skip to content

Commit

Permalink
Merge pull request #1169 from engcom-Charlie/fix_seeMore
Browse files Browse the repository at this point in the history
[MFTF] Fix `See More` tests
  • Loading branch information
sivaschenko authored Apr 14, 2020
2 parents 15a67a1 + 97f1a35 commit b36f8a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminAdobeStockImagePreviewSameSeriesSeeMoreTest">
<annotations>
<skip>
<issueId value="https://github.com/magento/adobe-stock-integration/issues/1170"/>
</skip>
<features value="AdobeStockImagePanel"/>
<stories value="[Story #31] User searches for images from the same series as the currently viewed one"/>
<useCaseId value="https://github.com/magento/adobe-stock-integration/issues/346"/>
Expand All @@ -35,6 +32,9 @@
<argument name="query" value="cars"/>
</actionGroup>
<grabTextFrom selector="{{AdminAdobeStockSection.recordsFound}}" stepKey="countWithoutModelFilter"/>
<actionGroup ref="AdminSearchImagesOnModalActionGroup" stepKey="searchForUnlicensedImage">
<argument name="query" value="{{AdobeStockUnlicensedImage.id}}"/>
</actionGroup>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<waitForAjaxLoad stepKey="waitForRelatedImagesToLoad"/>
<executeJS function="document.querySelector('#adobe-stock-tabs').scrollIntoView()" stepKey="scrollToSeeMoreTabs"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminAdobeStockImagePreviewSameSeriesTest">
<annotations>
<skip>
<issueId value="https://github.com/magento/adobe-stock-integration/issues/1170"/>
</skip>
<features value="AdobeStockImagePanel"/>
<stories value="[Story #29] User sees images from the same series as the currently viewed image"/>
<useCaseId value="https://github.com/magento/adobe-stock-integration/issues/324"/>
Expand All @@ -30,8 +27,9 @@
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="resetAdminDataGridToDefaultView"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>
<actionGroup ref="AdminSearchImagesOnModalActionGroup" stepKey="searchForCars">
<argument name="query" value="cars"/>

<actionGroup ref="AdminSearchImagesOnModalActionGroup" stepKey="searchForUnlicensedImage">
<argument name="query" value="{{AdobeStockUnlicensedImage.id}}"/>
</actionGroup>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<waitForAjaxLoad stepKey="waitForRelatedImagesToLoad"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminSeeMoreFromSeriesTest">
<annotations>
<skip>
<issueId value="https://github.com/magento/adobe-stock-integration/issues/1170"/>
</skip>
<features value="AdobeStockImagePanel"/>
<useCaseId value="https://github.com/magento/adobe-stock-integration/issues/1006"/>
<title value="Cover User clicks See more button on Preview of the same image for the second time"/>
Expand All @@ -31,8 +28,8 @@
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="resetAdminDataGridToDefaultView"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>
<actionGroup ref="AdminSearchImagesOnModalActionGroup" stepKey="searchForCars">
<argument name="query" value="cars"/>
<actionGroup ref="AdminSearchImagesOnModalActionGroup" stepKey="searchForUnlicensedImage">
<argument name="query" value="{{AdobeStockUnlicensedImage.id}}"/>
</actionGroup>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandsFirstImageInGrid"/>
<waitForAjaxLoad stepKey="waitForRelatedImagesToLoad"/>
Expand Down

0 comments on commit b36f8a5

Please sign in to comment.