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] Cover Used In Media Gallery filter with MFTF #1580

Merged
merged 4 commits into from
Jul 12, 2020
Merged

[MFTF] Cover Used In Media Gallery filter with MFTF #1580

merged 4 commits into from
Jul 12, 2020

Conversation

Nazar65
Copy link
Member

@Nazar65 Nazar65 commented Jul 8, 2020

Description (*)

Fixed Issues (if relevant)

  1. Fixes [MFTF] Cover Used In Media Gallery filter with MFTF tests #1567:[MFTF] Cover Used In Media Gallery filter with MFTF
  2. ...

Manual testing scenarios (*)

functional tests are green

@Nazar65
Copy link
Member Author

Nazar65 commented Jul 8, 2020

@magento run all tests

@Nazar65
Copy link
Member Author

Nazar65 commented Jul 8, 2020

@magento run all tests

@Nazar65 Nazar65 added the MFTF tests MFTF tests coverage label Jul 8, 2020
Copy link
Member

@sivaschenko sivaschenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Nazar65 , please take a look at my comments

@@ -13,5 +13,8 @@
<element name="applyFilters" type="button" selector="//div[@class='media-gallery-container']//button[@data-action='grid-filter-apply']"/>
<element name="activeFilter" type="text" selector="//div[@class='media-gallery-container']//div[@class='admin__current-filters-list-wrap']//span[contains( ., '{{filter}}')]" parameterized="true"/>
<element name="activeFilterPlaceholder" type="text" selector="//div[@class='media-gallery-container']//div[@class='admin__current-filters-list-wrap']"/>
<element name="usedInSelectDropdown" type="text" selector="//div[@class='admin__action-multiselect-text' and text()='Select...']"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The selectors should be more specific, we are going to have more than one multiselect in the filters section

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

<actionGroup ref="AdminOpenMediaGalleryTinyMce4ActionGroup" stepKey="openMediaGalleryFromWysiwygToFilterIMage"/>

<actionGroup ref="AdminEnhancedMediaGalleryExpandFilterActionGroup" stepKey="expandFilters"/>
<actionGroup ref="AdminMediaGalleryApplyUsedInFIlterActionGroup" stepKey="applyUsedInCategoryFilter">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<actionGroup ref="AdminMediaGalleryApplyUsedInFIlterActionGroup" stepKey="applyUsedInCategoryFilter">
<actionGroup ref="AdminMediaGalleryApplyUsedInFilterActionGroup" stepKey="applyUsedInCategoryFilter">

@Nazar65
Copy link
Member Author

Nazar65 commented Jul 9, 2020

@magento run all tests

@Nazar65
Copy link
Member Author

Nazar65 commented Jul 9, 2020

Hi @sivaschenko thanks for the review, done ✔️

@sivaschenko sivaschenko merged commit 6cb4444 into magento:2.0-develop Jul 12, 2020
@ghost
Copy link

ghost commented Jul 12, 2020

Hi @Nazar65, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MFTF tests MFTF tests coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MFTF] Cover Used In Media Gallery filter with MFTF tests
2 participants