Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MFTF] Fix See More tests #1169

Merged
merged 4 commits into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="logout" 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="logout" 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