|
38 | 38 | <actionGroup name="StorefrontCreateAccountActionGroup">
|
39 | 39 | <click selector="{{StorefrontCreateAccountSection.createAccount}}" stepKey="ClickToCreateAccount"/>
|
40 | 40 | <waitForPageLoad stepKey="waitForAccountFormIsOpened"/>
|
41 |
| - <fillField selector="{{StorefrontCreateAccountSection.firstName}}" userInput="{{CreateUserData.firstName}}" stepKey="TypeFirstName"/> |
42 |
| - <fillField selector="{{StorefrontCreateAccountSection.lastName}}" userInput="{{CreateUserData.lastName}}" stepKey="TypeLastName"/> |
43 |
| - <fillField selector="{{StorefrontCreateAccountSection.email}}" userInput="{{CreateUserData.firstName}}@magento.com" stepKey="TypeEmail"/> |
44 |
| - <fillField selector="{{StorefrontCreateAccountSection.password}}" userInput="{{CreateUserData.password}}" stepKey="TypePassword"/> |
| 41 | + <fillField selector="{{StorefrontCreateAccountSection.firstName}}" userInput="{{CreateNewUserData.firstName}}" stepKey="TypeFirstName"/> |
| 42 | + <fillField selector="{{StorefrontCreateAccountSection.lastName}}" userInput="{{CreateNewUserData.lastName}}" stepKey="TypeLastName"/> |
| 43 | + <fillField selector="{{StorefrontCreateAccountSection.email}}" userInput="{{CreateNewUserData.firstName}}@magento.com" stepKey="TypeEmail"/> |
| 44 | + <fillField selector="{{StorefrontCreateAccountSection.password}}" userInput="{{CreateNewUserData.password}}" stepKey="TypePassword"/> |
45 | 45 | <waitForPageLoad stepKey="waitToConfirmPassword"/>
|
46 |
| - <fillField selector="{{StorefrontCreateAccountSection.confirmPass}}" userInput="{{CreateUserData.password}}" stepKey="confirmPassword"/> |
| 46 | + <fillField selector="{{StorefrontCreateAccountSection.confirmPass}}" userInput="{{CreateNewUserData.password}}" stepKey="confirmPassword"/> |
47 | 47 | <click selector="{{StorefrontCreateAccountSection.create}}" stepKey="ClickToSaveAccount"/>
|
48 | 48 | <waitForPageLoad stepKey="waitForAccountPageLoaded"/>
|
49 | 49 | </actionGroup>
|
|
129 | 129 | <wait stepKey="WaitForCustomerViewOpened" time="2"/>
|
130 | 130 | <click stepKey="clickCustomerAllCustomerItem" selector="{{DashboardSection.customerAllCustomer}}"/>
|
131 | 131 | <waitForPageLoad stepKey="WaitForCustomerPageIsLoaded"/>
|
132 |
| - <fillField stepKey="searchToKeyword" selector="{{AdminCustomerAccInformationSection.searchToKeyword}}" userInput="{{CreateUserData.firstName}}"/> |
133 |
| - <click stepKey="clickSearchButton" selector="{{AdminCustomerAccInformationSection.searchButton}}"/> |
134 |
| - <waitForElementVisible stepKey="waitForFiltering" selector="{{AdminCustomerAccInformationSection.selectCustomer}}"/> |
| 132 | + <conditionalClick selector="{{AdminCustomerAccInformationSection.clearAll}}" dependentSelector="{{AdminCustomerAccInformationSection.clearAll}}" visible="1" stepKey="clickClearAllIfThereIsAnyValue"/> |
| 133 | + <click stepKey="clickFilterButton" selector="{{AdminCustomerAccInformationSection.filterButton}}"/> |
| 134 | + <waitForElementVisible selector="{{AdminCustomerAccInformationSection.filterNameField}}" stepKey="waitForFilterDataLoaded"/> |
| 135 | + <fillField stepKey="searchProductUsingNameField" selector="{{AdminCustomerAccInformationSection.filterNameField}}" userInput="{{CreateNewUserData.firstName}}"/> |
| 136 | + <click stepKey="clickFiltersApplyButton" selector="{{AdminCustomerAccInformationSection.filtersApplyButton}}"/> |
| 137 | + <waitForElementNotVisible selector="{{AdminCustomerAccInformationSection.filterNameField}}" stepKey="waitForFilterBecomeNotVisible"/> |
135 | 138 | <click selector="{{AdminCustomerAccInformationSection.selectCustomer}}" stepKey="ClickOnCustomer"/>
|
136 | 139 | <click selector="{{AdminCustomerAccInformationSection.actions}}" stepKey="ClickOnActions"/>
|
137 | 140 | <waitForElementVisible selector="{{AdminCustomerAccInformationSection.delete}}" stepKey="waitForDeleteButtonAppeared"/>
|
|
0 commit comments