@@ 30-45 (lines=16) @@ | ||
27 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
28 | } |
|
29 | ||
30 | public function other_ログイン異常1(\AcceptanceTester $I) |
|
31 | { |
|
32 | $I->wantTo('EF0601-UC01-T02 ログイン 異常パターン(仮会員)'); |
|
33 | $I->logoutAsMember(); |
|
34 | ||
35 | $createCustomer = Fixtures::get('createCustomer'); |
|
36 | $customer = $createCustomer(null, false); |
|
37 | ||
38 | $I->amOnPage('/mypage/login'); |
|
39 | $I->submitForm('#login_mypage', [ |
|
40 | 'login_email' => $customer->getEmail(), |
|
41 | 'login_pass' => 'password' |
|
42 | ]); |
|
43 | ||
44 | $I->see('ログインできませんでした。', 'div.ec-login p.ec-errorMessage'); |
|
45 | } |
|
46 | ||
47 | public function other_ログイン異常2(\AcceptanceTester $I) |
|
48 | { |
|
@@ 47-62 (lines=16) @@ | ||
44 | $I->see('ログインできませんでした。', 'div.ec-login p.ec-errorMessage'); |
|
45 | } |
|
46 | ||
47 | public function other_ログイン異常2(\AcceptanceTester $I) |
|
48 | { |
|
49 | $I->wantTo('EF0601-UC01-T03 ログイン 異常パターン(入力ミス)'); |
|
50 | $I->logoutAsMember(); |
|
51 | ||
52 | $createCustomer = Fixtures::get('createCustomer'); |
|
53 | $customer = $createCustomer(null, false); |
|
54 | ||
55 | $I->amOnPage('/mypage/login'); |
|
56 | $I->submitForm('#login_mypage', [ |
|
57 | 'login_email' => $customer->getEmail().'.bad', |
|
58 | 'login_pass' => 'password' |
|
59 | ]); |
|
60 | ||
61 | $I->see('ログインできませんでした。', 'div.ec-login p.ec-errorMessage'); |
|
62 | } |
|
63 | ||
64 | public function other_パスワード再発行(\AcceptanceTester $I) |
|
65 | { |