| @@ 27-39 (lines=13) @@ | ||
| 24 | { |
|
| 25 | } |
|
| 26 | ||
| 27 | public function customer_検索(\AcceptanceTester $I) |
|
| 28 | { |
|
| 29 | $I->wantTo('EA0501-UC01-T01 検索'); |
|
| 30 | ||
| 31 | ||
| 32 | $CustomerListPage = CustomerManagePage::go($I); |
|
| 33 | ||
| 34 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 35 | $customer = $createCustomer(); |
|
| 36 | ||
| 37 | $CustomerListPage->検索($customer->getEmail()); |
|
| 38 | $I->see('検索結果:1件が該当しました', CustomerManagePage::$検索結果メッセージ); |
|
| 39 | } |
|
| 40 | ||
| 41 | public function customer_検索結果なし(\AcceptanceTester $I) |
|
| 42 | { |
|
| @@ 159-172 (lines=14) @@ | ||
| 156 | $I->dontSeeElement(CustomerEditPage::$登録完了メッセージ); |
|
| 157 | } |
|
| 158 | ||
| 159 | public function customer_会員削除(\AcceptanceTester $I) |
|
| 160 | { |
|
| 161 | $I->wantTo('EA0501-UC03-T01 会員削除'); |
|
| 162 | ||
| 163 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 164 | $customer = $createCustomer(); |
|
| 165 | ||
| 166 | $CustomerManagePage = CustomerManagePage::go($I) |
|
| 167 | ->検索($customer->getEmail()); |
|
| 168 | ||
| 169 | $CustomerManagePage->一覧_削除(1); |
|
| 170 | ||
| 171 | $I->see('検索条件に合致するデータが見つかりませんでした', CustomerManagePage::$検索結果_結果なしメッセージ); |
|
| 172 | } |
|
| 173 | ||
| 174 | public function customer_会員削除キャンセル(\AcceptanceTester $I) |
|
| 175 | { |
|
| @@ 25-34 (lines=10) @@ | ||
| 22 | { |
|
| 23 | } |
|
| 24 | ||
| 25 | public function mypage_初期表示(\AcceptanceTester $I) |
|
| 26 | { |
|
| 27 | $I->wantTo('EF0501-UC01-T01 Mypage 初期表示'); |
|
| 28 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 29 | $customer = $createCustomer(); |
|
| 30 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 31 | ||
| 32 | MyPage::go($I); |
|
| 33 | MyPage::at($I); |
|
| 34 | } |
|
| 35 | ||
| 36 | public function mypage_ご注文履歴_(\AcceptanceTester $I) |
|
| 37 | { |
|
| @@ 158-169 (lines=12) @@ | ||
| 155 | $I->see('新着情報', '.ec-news__title'); |
|
| 156 | } |
|
| 157 | ||
| 158 | public function mypage_お届け先編集表示(\AcceptanceTester $I) |
|
| 159 | { |
|
| 160 | $I->wantTo('EF0506-UC01-T01 Mypage お届け先編集表示'); |
|
| 161 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 162 | $customer = $createCustomer(); |
|
| 163 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 164 | ||
| 165 | // TOPページ>マイページ>お届け先一覧 |
|
| 166 | MyPage::go($I)->お届け先編集(); |
|
| 167 | ||
| 168 | $I->see('お届け先一覧', 'div.ec-pageHeader h1'); |
|
| 169 | } |
|
| 170 | ||
| 171 | public function mypage_お届け先編集作成変更(\AcceptanceTester $I) |
|
| 172 | { |
|