Skip to content

Commit 8942f9e

Browse files
committed
MC-15934: [FT] [MFTF] AdminExportSimpleProductWithCustomAttributeTest fails because of bad design
Fix also StorefrontAddTwoBundleMultiSelectOptionsToTheShoppingCartTest and StorefrontAddGroupedProductToShoppingCartTest
1 parent 08d09ad commit 8942f9e

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/ActionGroup/AdminExportActionGroup.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,6 @@
6464

6565
<actionGroup name="deleteAllExportedFiles">
6666
<amOnPage url="{{AdminExportIndexPage.url}}" stepKey="goToExportIndexPage"/>
67-
68-
<!-- This is better one sive it use selectors substitutions. But for now we cant use it because of bug in MFTF.-->
69-
<!-- It makes double quotes escaping and brake code. I will provide fix for this in nearest future.-->
70-
<!-- <executeInSelenium-->
71-
<!-- function="-->
72-
<!-- function ($webdriver) use ($I) {-->
73-
<!-- $buttons = $webdriver->findElements(\Facebook\WebDriver\WebDriverBy::xpath(&quot;{{AdminExportAttributeSection.selectByIndex('0')}}&quot;));-->
74-
<!-- while(!empty($buttons)) {-->
75-
<!-- $buttons[0]->click();-->
76-
<!-- $I->waitForElementVisible(&quot;{{AdminExportAttributeSection.delete('0')}}&quot;, 10);-->
77-
<!-- $deleteButton = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath(&quot;{{AdminExportAttributeSection.delete('0')}}&quot;));-->
78-
<!-- $deleteButton->click();-->
79-
<!-- $I->waitForElementVisible(&quot;{{AdminProductGridConfirmActionSection.ok}}&quot;, 10);-->
80-
<!-- $I->click(&quot;{{AdminProductGridConfirmActionSection.ok}}&quot;);-->
81-
<!-- $I->waitForPageLoad(60);-->
82-
<!-- $buttons = $webdriver->findElements(\Facebook\WebDriver\WebDriverBy::xpath(&quot;{{AdminExportAttributeSection.selectByIndex('0')}}&quot;));-->
83-
<!-- }-->
84-
<!-- }"-->
85-
<!-- stepKey="deleteAllExportedFilesOneByOne"/>-->
86-
8767
<executeInSelenium
8868
function="
8969
function ($webdriver) use ($I) {
@@ -100,7 +80,6 @@
10080
}
10181
}"
10282
stepKey="deleteAllExportedFilesOneByOne"/>
103-
10483
<waitForElementVisible selector="{{AdminDataGridTableSection.dataGridEmpty}}" stepKey="waitDataGridEmptyMessageAppears"/>
10584
<see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage"/>
10685
</actionGroup>

0 commit comments

Comments
 (0)