-
Notifications
You must be signed in to change notification settings - Fork 9.3k
/
AdminCreateStoreViewStatusEnabledVerifyBackendAndFrontendTest.xml
48 lines (44 loc) · 2.33 KB
/
AdminCreateStoreViewStatusEnabledVerifyBackendAndFrontendTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCreateStoreViewStatusEnabledVerifyBackendAndFrontendTest">
<annotations>
<stories value="Create Store View"/>
<title value="Create Store View Status Enabled and Verify Backend and Frontend"/>
<description value="Test log in to Stores and Create Store View Status Enabled Test"/>
<testCaseId value="MC-14304"/>
<severity value="CRITICAL"/>
<group value="store"/>
<group value="mtf_migrated"/>
</annotations>
<before>
<actionGroup ref = "LoginAsAdmin" stepKey="loginAsAdmin"/>
</before>
<after>
<actionGroup ref="AdminDeleteStoreViewActionGroup" stepKey="deleteStoreView">
<argument name="customStore" value="storeViewData"/>
</actionGroup>
<actionGroup ref="logout" stepKey="logout"/>
</after>
<!--Create store view-->
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView">
<argument name="StoreGroup" value="_defaultStoreGroup"/>
<argument name="customStore" value="storeViewData"/>
</actionGroup>
<!--Save the above store view and verify AssertStoreViewSuccessSaveMessage-->
<actionGroup ref="AdminCreateStoreViewActionSaveGroup" stepKey="verifyAssertStoreViewSuccessSaveMessage"/>
<!--Go to store configuration page and verify AssertStoreBackend-->
<actionGroup ref="AssertStoreConfigurationBackendActionGroup" stepKey="verifyValuesOnStoreBackend">
<argument name="storeView1" value="{{storeViewData.name}}"/>
</actionGroup>
<!--Go to storefront and verify AssertStoreFrontend-->
<actionGroup ref="AssertStorefrontStoreVisibleInHeaderActionGroup" stepKey="verifyValuesOnStoreFrontend">
<argument name="store" value="{{storeViewData.name}}"/>
</actionGroup>
</test>
</tests>