Skip to content

Commit 232e5fa

Browse files
committed
Merge remote-tracking branch 'remotes/origin/MAGETWO-71404' into MAGETWO-86533-MediaGalleryImage-Inside-Form
2 parents 5f5a60c + 1c051ff commit 232e5fa

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/ActionGroup/CMSActionGroup.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@
1313
</arguments>
1414
<amOnPage url="{{CmsPagesPage.url}}" stepKey="navigateToCMSPagesGrid"/>
1515
<waitForPageLoad stepKey="waitForPageLoad1"/>
16+
<conditionalClick selector="{{BlockPageActionsSection.clearAll}}" dependentSelector="{{BlockPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
17+
<waitForPageLoad stepKey="waitForPageLoad2"/>
1618
<conditionalClick selector="//div[contains(@data-role, 'grid-wrapper')]/table/thead/tr/th/span[contains(text(), 'ID')]" dependentSelector="//span[contains(text(), 'ID')]/parent::th[not(contains(@class, '_descend'))]/parent::tr/parent::thead/parent::table/parent::div[contains(@data-role, 'grid-wrapper')]" stepKey="clickToAttemptSortByIdDescending" visible="true"/>
1719
<waitForLoadingMaskToDisappear stepKey="waitForFirstIdSortDescendingToFinish" />
1820
<!-- Conditional Click again in case it goes from default state to ascending on first click -->
1921
<conditionalClick selector="//div[contains(@data-role, 'grid-wrapper')]/table/thead/tr/th/span[contains(text(), 'ID')]" dependentSelector="//span[contains(text(), 'ID')]/parent::th[not(contains(@class, '_descend'))]/parent::tr/parent::thead/parent::table/parent::div[contains(@data-role, 'grid-wrapper')]" stepKey="secondClickToAttemptSortByIdDescending" visible="true"/>
2022
<waitForLoadingMaskToDisappear stepKey="waitForSecondIdSortDescendingToFinish" />
2123
<click selector="{{CmsPagesPageActionsSection.select(CMSPage.identifier)}}" stepKey="clickSelectCreatedCMSPage" />
2224
<click selector="{{CmsPagesPageActionsSection.edit(CMSPage.identifier)}}" stepKey="navigateToCreatedCMSPage" />
23-
<waitForPageLoad stepKey="waitForPageLoad2"/>
24-
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickExpandContentTab1"/>
25+
<waitForPageLoad stepKey="waitForPageLoad3"/>
26+
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickExpandContentTabForPage"/>
2527
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskOfStagingSection" />
2628
</actionGroup>
2729
<actionGroup name="navigateToCreatedCMSBlockPage">

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Section/BlockPageActionsSection.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
<element name="addNewBlock" type="button" selector="#add" timeout="30"/>
1313
<element name="select" type="button" selector="//div[text()='{{var1}}']//parent::td//following-sibling::td//button[text()='Select']" parameterized="true"/>
1414
<element name="edit" type="button" selector="//div[text()='{{var1}}']//parent::td//following-sibling::td//a[text()='Edit']" parameterized="true"/>
15+
<element name="idColumn" type="button" selector="//div[contains(@data-role, 'grid-wrapper')]/table/thead/tr/th/span[contains(text(), 'ID')]"/>
16+
<element name="clearAll" type="button" selector="//div[@class='admin__data-grid-header']//button[contains(text(), 'Clear all')]"/>
17+
<element name="activeFilters" type="button" selector="//div[@class='admin__data-grid-header']//span[contains(text(), 'Active filters:')]" />
1518
</section>
1619
</sections>

0 commit comments

Comments
 (0)