File tree Expand file tree Collapse file tree 6 files changed +13
-8
lines changed
Theme/Test/Mftf/ActionGroup Expand file tree Collapse file tree 6 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" AdminAssertDashboardPageIsVisibleActionGroup " >
11
+ <actionGroup name =" AssertAdminDashboardPageIsVisibleActionGroup " >
12
12
<seeInCurrentUrl url =" {{AdminDashboardPage.url}}" stepKey =" seeDashboardUrl" />
13
13
<see userInput =" Dashboard" selector =" {{AdminHeaderSection.pageTitle}}" stepKey =" seeDashboardTitle" />
14
14
</actionGroup >
Original file line number Diff line number Diff line change 13
13
<features value =" Backend" />
14
14
<title value =" Admin panel should be accessible with Add Store Code to URL setting enabled" />
15
15
<description value =" Admin panel should be accessible with Add Store Code to URL setting enabled" />
16
+ <testCaseId value =" MC-14279" />
16
17
<group value =" backend" />
17
18
<group value =" mtf_migrated" />
18
19
</annotations >
24
25
</after >
25
26
26
27
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
27
- <actionGroup ref =" AdminAssertDashboardPageIsVisibleActionGroup " stepKey =" seeDashboardPage" />
28
+ <actionGroup ref =" AssertAdminDashboardPageIsVisibleActionGroup " stepKey =" seeDashboardPage" />
28
29
</test >
29
30
</tests >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" StorefrontAssertStoreCodeInUrlActionGroup" >
11
- <seeInCurrentUrl url =" {{StorefrontHomePage.url}}{{_defaultStore.code}}" stepKey =" seeStoreCodeInURL" />
10
+ <actionGroup name =" AssertStorefrontStoreCodeInUrlActionGroup" >
11
+ <arguments >
12
+ <argument name =" storeCode" type =" string" defaultValue =" {{_defaultStore.code}}" />
13
+ </arguments >
14
+ <seeInCurrentUrl url =" {{StorefrontHomePage.url}}{{storeCode}}" stepKey =" seeStoreCodeInURL" />
12
15
</actionGroup >
13
16
</actionGroups >
File renamed without changes.
Original file line number Diff line number Diff line change 13
13
<features value =" Backend" />
14
14
<title value =" Store code should be added to storefront URL if the corresponding configuration is enabled" />
15
15
<description value =" Store code should be added to storefront URL if the corresponding configuration is enabled" />
16
+ <testCaseId value =" MC-15944" />
16
17
<group value =" store" />
17
18
<group value =" mtf_migrated" />
18
19
</annotations >
24
25
</after >
25
26
26
27
<actionGroup ref =" StorefrontClickOnHeaderLogoActionGroup" stepKey =" clickOnStorefrontHeaderLogo" />
27
- <actionGroup ref =" StorefrontAssertStoreCodeInUrlActionGroup " stepKey =" seeStoreCodeInUrl" />
28
+ <actionGroup ref =" AssertStorefrontStoreCodeInUrlActionGroup " stepKey =" seeStoreCodeInUrl" />
28
29
</test >
29
30
</tests >
Original file line number Diff line number Diff line change 8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
10
<actionGroup name =" StorefrontClickOnHeaderLogoActionGroup" >
11
- <amOnPage url =" {{StorefrontHomePage.url}}" stepKey =" gotToHomePage " />
12
- <waitForPageLoad stepKey =" waitForHomePageLoaded1 " />
11
+ <amOnPage url =" {{StorefrontHomePage.url}}" stepKey =" goToHomePage " />
12
+ <waitForPageLoad stepKey =" waitForHomePageLoaded " />
13
13
<click selector =" {{StorefrontHeaderSection.logoLink}}" stepKey =" clickOnLogo" />
14
- <waitForPageLoad stepKey =" waitForHomePageLoaded2 " />
14
+ <waitForPageLoad stepKey =" waitForHomePageLoadedAfterClickOnLogo " />
15
15
</actionGroup >
16
16
</actionGroups >
You can’t perform that action at this time.
0 commit comments