File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
app/code/Magento/Store/Test/Mftf Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 13
13
</arguments >
14
14
<amOnPage url =" {{AdminSystemStorePage.url}}" stepKey =" amOnTheStorePage" />
15
15
<click selector =" {{AdminStoresGridSection.resetButton}}" stepKey =" clickOnResetButton" />
16
- <waitForPageLoad stepKey =" waitForPageLoadAfterResetButtonClicked" time =" 10" />
17
16
<fillField userInput =" {{websiteName}}" selector =" {{AdminStoresGridSection.websiteFilterTextField}}" stepKey =" fillSearchWebsiteField" />
18
17
<click selector =" {{AdminStoresGridSection.searchButton}}" stepKey =" clickSearchButton" />
19
- <waitForPageLoad stepKey =" waitForPageLoadAfterSearch" time =" 10" />
20
18
<see userInput =" {{websiteName}}" selector =" {{AdminStoresGridSection.websiteNameInFirstRow}}" stepKey =" verifyThatCorrectWebsiteFound" />
21
19
<click selector =" {{AdminStoresGridSection.websiteNameInFirstRow}}" stepKey =" clickEditExistingWebsite" />
22
-
20
+ < waitForPageLoad stepKey = " waitForPageLoadAfterWebsiteSelected " time = " 30 " />
23
21
<click selector =" {{AdminStoresMainActionsSection.deleteButton}}" stepKey =" clickDeleteWebsiteButtonOnEditStorePage" />
24
22
<selectOption userInput =" No" selector =" {{AdminStoresDeleteWebsiteSection.createDbBackup}}" stepKey =" setCreateDbBackupToNo" />
25
23
<click selector =" {{AdminStoresDeleteWebsiteSection.deleteButton}}" stepKey =" clickDeleteButtonOnDeleteWebsitePage" />
24
+ <see selector =" {{AdminMessagesSection.successMessage}}" userInput =" You deleted the website." stepKey =" checkSuccessMessage" />
26
25
</actionGroup >
27
26
</actionGroups >
Original file line number Diff line number Diff line change 8
8
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
9
9
<section name =" AdminStoresDeleteWebsiteSection" >
10
10
<element name =" createDbBackup" type =" select" selector =" #store_create_backup" />
11
- <element name =" deleteButton" type =" button" selector =" #delete" timeout =" 30 " />
11
+ <element name =" deleteButton" type =" button" selector =" #delete" timeout =" 120 " />
12
12
</section >
13
13
</sections >
You can’t perform that action at this time.
0 commit comments