File tree Expand file tree Collapse file tree 7 files changed +38
-6
lines changed
dev/tests/functional/tests/app/Magento/Customer/Test/Constraint Expand file tree Collapse file tree 7 files changed +38
-6
lines changed Original file line number Diff line number Diff line change 11
11
<type id =" customer_account_createpassword" label =" Reset a Password" />
12
12
<type id =" customer_account_edit" label =" Customer Account Edit Form" />
13
13
<type id =" customer_account_forgotpassword" label =" Customer Forgot Password Form" />
14
- <type id =" customer_account_index" label =" Customer My Account Dashboard " />
14
+ <type id =" customer_account_index" label =" Customer My Account" />
15
15
<type id =" customer_account_login" label =" Customer Account Login Form" />
16
16
<type id =" customer_account_logoutsuccess" label =" Customer Account Logout Success" />
17
17
<type id =" customer_address_form" label =" Customer My Account Address Edit Form" />
Original file line number Diff line number Diff line change @@ -512,7 +512,6 @@ Type,Type
512
512
"Send Welcome Email From","Send Welcome Email From"
513
513
Addresses,Addresses
514
514
"Are you sure you want to delete this item?","Are you sure you want to delete this item?"
515
- "Account Dashboard","Account Dashboard"
516
515
"Edit Account Information","Edit Account Information"
517
516
"Password forgotten","Password forgotten"
518
517
"You are signed out","You are signed out"
Original file line number Diff line number Diff line change 30
30
<argument name =" label" xsi : type =" string" translate =" true" >Address Book</argument >
31
31
<argument name =" path" xsi : type =" string" >customer/address</argument >
32
32
</arguments >
33
+ <block class =" Magento\Customer\Block\Account\SortLinkInterface" name =" customer-account-navigation-account-link" >
34
+ <arguments >
35
+ <argument name =" label" xsi : type =" string" translate =" true" >My Account</argument >
36
+ <argument name =" path" xsi : type =" string" >customer/account</argument >
37
+ <argument name =" sortOrder" xsi : type =" number" >250</argument >
38
+ </arguments >
39
+ </block >
40
+ <block class =" Magento\Customer\Block\Account\Delimiter" name =" customer-account-navigation-delimiter-1" template =" Magento_Customer::account/navigation-delimiter.phtml" >
41
+ <arguments >
42
+ <argument name =" sortOrder" xsi : type =" number" >200</argument >
43
+ </arguments >
44
+ </block >
45
+ <block class =" Magento\Customer\Block\Account\SortLinkInterface" name =" customer-account-navigation-address-link" >
46
+ <arguments >
47
+ <argument name =" label" xsi : type =" string" translate =" true" >Address Book</argument >
48
+ <argument name =" path" xsi : type =" string" >customer/address</argument >
49
+ <argument name =" sortOrder" xsi : type =" number" >190</argument >
50
+ </arguments >
51
+ </block >
52
+ <block class =" Magento\Customer\Block\Account\SortLinkInterface" name =" customer-account-navigation-account-edit-link" >
53
+ <arguments >
54
+ <argument name =" label" xsi : type =" string" translate =" true" >Account Information</argument >
55
+ <argument name =" path" xsi : type =" string" >customer/account/edit</argument >
56
+ <argument name =" sortOrder" xsi : type =" number" >180</argument >
57
+ </arguments >
58
+ </block >
59
+ <block class =" Magento\Customer\Block\Account\Delimiter" name =" customer-account-navigation-delimiter-2" template =" Magento_Customer::account/navigation-delimiter.phtml" >
60
+ <arguments >
61
+ <argument name =" sortOrder" xsi : type =" number" >130</argument >
62
+ </arguments >
63
+ </block >
33
64
</block >
34
65
</block >
35
66
</referenceContainer >
Original file line number Diff line number Diff line change 1
1
Summary,Summary
2
- "Account Dashboard","Account Dashboard"
3
2
"Account Information","Account Information"
4
3
"Address Book","Address Book"
5
4
Menu,Menu
Original file line number Diff line number Diff line change 10
10
<referenceContainer name =" sidebar.main" >
11
11
<block class =" Magento\Framework\View\Element\Template" name =" customer_account_navigation_block" template =" Magento_Theme::html/collapsible.phtml" before =" -" >
12
12
<arguments >
13
- <argument name =" block_title" translate =" true" xsi : type =" string" >Account Dashboard </argument >
13
+ <argument name =" block_title" translate =" true" xsi : type =" string" >My Account </argument >
14
14
<argument name =" block_css" xsi : type =" string" >block-collapsible-nav</argument >
15
15
</arguments >
16
16
<block class =" Magento\Framework\View\Element\Html\Links" name =" customer_account_navigation" before =" -" >
19
19
</arguments >
20
20
<block class =" Magento\Framework\View\Element\Html\Link\Current" name =" customer-account-navigation-account-link" >
21
21
<arguments >
22
- <argument name =" label" xsi : type =" string" translate =" true" >Account Dashboard </argument >
22
+ <argument name =" label" xsi : type =" string" translate =" true" >My Account </argument >
23
23
<argument name =" path" xsi : type =" string" >customer/account</argument >
24
24
</arguments >
25
25
</block >
Original file line number Diff line number Diff line change @@ -42,3 +42,6 @@ Password:,Password:
42
42
"Placed on <span class=""no-link"">%created_at</span>","Placed on <span class=""no-link"">%created_at</span>"
43
43
"Your shipping confirmation is below. Thank you again for your business.","Your shipping confirmation is below. Thank you again for your business."
44
44
"Your Shipment #%shipment_id for Order #%order_id","Your Shipment #%shipment_id for Order #%order_id"
45
+ "Update to your %store_name shipment","Update to your %store_name shipment"
46
+ "Address Book","Address Book"
47
+ "Account Information","Account Information"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class AssertCustomerDefaultAddresses extends AbstractConstraint
24
24
*/
25
25
public function processAssert (CustomerAccountIndex $ customerAccountIndex , Address $ address )
26
26
{
27
- $ customerAccountIndex ->getAccountMenuBlock ()->openMenuItem ('Account Dashboard ' );
27
+ $ customerAccountIndex ->getAccountMenuBlock ()->openMenuItem ('My Account ' );
28
28
sleep (6 );
29
29
$ defaultBillingAddress = explode (
30
30
"\n" ,
You can’t perform that action at this time.
0 commit comments