File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/code/Magento/Customer Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \Customer \Controller \Account ;
9
9
10
- use Exception ;
11
10
use Magento \Customer \Api \Data \CustomerInterface ;
12
11
use Magento \Customer \Api \SessionCleanerInterface ;
13
12
use Magento \Customer \Model \AddressRegistry ;
@@ -245,7 +244,7 @@ public function execute()
245
244
}
246
245
} catch (LocalizedException $ e ) {
247
246
$ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
248
- } catch (Exception $ e ) {
247
+ } catch (\ Exception $ e ) {
249
248
$ this ->messageManager ->addException ($ e , __ ('We can \'t save the customer. ' ));
250
249
}
251
250
Original file line number Diff line number Diff line change 14
14
<stories value =" Update Customer" />
15
15
<title value =" Changing Customer Email Test" />
16
16
<description value =" Changing Customer's email with correct and wrong passwords" />
17
- <testCaseId value =" MC-38725" />
17
+ <testCaseId value =" MC-38729" />
18
+ <useCaseId value =" MC-38676" />
18
19
<severity value =" MAJOR" />
19
20
<group value =" customer" />
20
21
</annotations >
21
22
<before >
22
23
<createData entity =" Simple_US_Customer" stepKey =" customer" />
23
24
</before >
24
25
<after >
26
+ <actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" customerLogout" />
25
27
<deleteData createDataKey =" customer" stepKey =" deleteCustomer" />
26
28
</after >
27
29
28
- <actionGroup ref =" StorefrontOpenHomePageActionGroup" stepKey =" openStorefrontHomePage" />
29
30
<actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" loginToStorefrontAccount" >
30
31
<argument name =" Customer" value =" $customer$" />
31
32
</actionGroup >
46
47
</actionGroup >
47
48
<!-- Navigate to "Account Information" tab Second Time-->
48
49
<actionGroup ref =" StorefrontOpenCustomerAccountInfoEditPageActionGroup" stepKey =" goToCustomerEditPageSecondTime" />
49
- <!-- Checking Email checkbox, entering new email, saving with incorrect password -->
50
+ <!-- Entering new email, saving with wrong password -->
50
51
<actionGroup ref =" StorefrontCustomerChangeEmailActionGroup" stepKey =" changeEmailWrongAttempt" >
51
52
<argument name =" email" value =" $customer.email$" />
52
53
<argument name =" password" value =" WRONG_PASSWORD_123123q" />
You can’t perform that action at this time.
0 commit comments