File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 35
35
<deleteData createDataKey =" category" stepKey =" deleteCategory" />
36
36
<createData entity =" DefaultBraintreeConfig" stepKey =" DefaultBraintreeConfig" />
37
37
<createData entity =" RollBackCustomBraintreeConfigurationData" stepKey =" RollBackCustomBraintreeConfigurationData" />
38
+ <actionGroup ref =" StorefrontSignOutActionGroup" stepKey =" StorefrontSignOutActionGroup" />
38
39
</after >
39
40
<!-- Go to storefront-->
40
41
<amOnPage url =" " stepKey =" DoToStorefront" />
Original file line number Diff line number Diff line change 145
145
<see selector =" {{CheckoutSuccessMainSection.success}}" userInput =" {{emailYouMessage}}" stepKey =" seeEmailYou" />
146
146
</actionGroup >
147
147
148
+ <actionGroup name =" StorefrontSignOutActionGroup" >
149
+ <click selector =" {{StoreFrontSignOutSection.customerAccount}}" stepKey =" clickCustomerButton" />
150
+ <click selector =" {{StoreFrontSignOutSection.signOut}}" stepKey =" clickToSignOut" />
151
+ <waitForPageLoad stepKey =" waitForPageLoad" />
152
+ <see userInput =" You are signed out" stepKey =" signOut" />
153
+ </actionGroup >
154
+
148
155
</actionGroups >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
+ <section name =" StoreFrontSignOutSection" >
12
+ <element name =" customerAccount" type =" button" selector =" .customer-name" />
13
+ <element name =" signOut" type =" button" selector =" div.customer-menu li.authorization-link" />
14
+ </section >
15
+ </sections >
You can’t perform that action at this time.
0 commit comments