@@ 38-50 (lines=13) @@ | ||
35 | { |
|
36 | } |
|
37 | ||
38 | public function customer_検索(\AcceptanceTester $I) |
|
39 | { |
|
40 | $I->wantTo('EA0501-UC01-T01 検索'); |
|
41 | ||
42 | $CustomerListPage = CustomerManagePage::go($I); |
|
43 | ||
44 | $createCustomer = Fixtures::get('createCustomer'); |
|
45 | $customer = $createCustomer(); |
|
46 | ||
47 | $CustomerListPage->検索($customer->getEmail()); |
|
48 | $I->see('検索結果:1件が該当しました', CustomerManagePage::$検索結果メッセージ); |
|
49 | } |
|
50 | ||
51 | public function customer_検索結果なし(\AcceptanceTester $I) |
|
52 | { |
|
53 | $I->wantTo('EA0501-UC01-T02 検索 結果なし'); |
|
@@ 169-182 (lines=14) @@ | ||
166 | $I->dontSeeElement(CustomerEditPage::$登録完了メッセージ); |
|
167 | } |
|
168 | ||
169 | public function customer_会員削除(\AcceptanceTester $I) |
|
170 | { |
|
171 | $I->wantTo('EA0501-UC03-T01 会員削除'); |
|
172 | ||
173 | $createCustomer = Fixtures::get('createCustomer'); |
|
174 | $customer = $createCustomer(); |
|
175 | ||
176 | $CustomerManagePage = CustomerManagePage::go($I) |
|
177 | ->検索($customer->getEmail()); |
|
178 | ||
179 | $CustomerManagePage->一覧_削除(1); |
|
180 | ||
181 | $I->see('検索条件に合致するデータが見つかりませんでした', CustomerManagePage::$検索結果_結果なしメッセージ); |
|
182 | } |
|
183 | ||
184 | public function customer_会員削除キャンセル(\AcceptanceTester $I) |
|
185 | { |
@@ 36-45 (lines=10) @@ | ||
33 | { |
|
34 | } |
|
35 | ||
36 | public function mypage_初期表示(\AcceptanceTester $I) |
|
37 | { |
|
38 | $I->wantTo('EF0501-UC01-T01 Mypage 初期表示'); |
|
39 | $createCustomer = Fixtures::get('createCustomer'); |
|
40 | $customer = $createCustomer(); |
|
41 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
42 | ||
43 | MyPage::go($I); |
|
44 | MyPage::at($I); |
|
45 | } |
|
46 | ||
47 | public function mypage_ご注文履歴_(\AcceptanceTester $I) |
|
48 | { |
|
@@ 169-180 (lines=12) @@ | ||
166 | $I->see('新着情報', '.ec-secHeading__ja'); |
|
167 | } |
|
168 | ||
169 | public function mypage_お届け先編集表示(\AcceptanceTester $I) |
|
170 | { |
|
171 | $I->wantTo('EF0506-UC01-T01 Mypage お届け先編集表示'); |
|
172 | $createCustomer = Fixtures::get('createCustomer'); |
|
173 | $customer = $createCustomer(); |
|
174 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
175 | ||
176 | // TOPページ>マイページ>お届け先一覧 |
|
177 | MyPage::go($I)->お届け先編集(); |
|
178 | ||
179 | $I->see('お届け先一覧', 'div.ec-pageHeader h1'); |
|
180 | } |
|
181 | ||
182 | public function mypage_お届け先編集作成変更(\AcceptanceTester $I) |
|
183 | { |