Code Duplication    Length = 5-5 lines in 3 locations

codeception/acceptance/EF04CustomerCest.php 2 locations

@@ 67-71 (lines=5) @@
64
        $I->click('.ec-registerRole form button.ec-blockBtn--action');
65
66
        $I->seeEmailCount(2);
67
        foreach ([$new_email, $BaseInfo->getEmail01()] as $email) {
68
            $I->seeInLastEmailSubjectTo($email, '会員登録のご確認');
69
            $I->seeInLastEmailTo($email, '姓 名 様');
70
            $I->seeInLastEmailTo($email, 'この度は会員登録依頼をいただきまして、有り難うございます。');
71
        }
72
73
        // 「トップページへ」ボタンを押下する
74
        $I->click('a.ec-blockBtn--cancel');
@@ 86-90 (lines=5) @@
83
        $I->see('新規会員登録(完了)', 'div.ec-pageHeader h1');
84
85
        $I->seeEmailCount(2);
86
        foreach ([$new_email, $BaseInfo->getEmail01()] as $email) {
87
            $I->seeInLastEmailSubjectTo($email, '会員登録が完了しました。');
88
            $I->seeInLastEmailTo($email, '姓 名 様');
89
            $I->seeInLastEmailTo($email, '本会員登録が完了いたしました。');
90
        }
91
92
        $I->click('div.ec-registerCompleteRole a.ec-blockBtn--cancel');
93
        $I->see('新着情報', '.ec-secHeading__ja');

codeception/acceptance/EF06OtherCest.php 1 location

@@ 191-195 (lines=5) @@
188
189
        // メールチェック
190
        $I->seeEmailCount(2);
191
        foreach ([$new_email, $BaseInfo->getEmail01()] as $email) {
192
            $I->seeInLastEmailSubjectTo($email, 'お問い合わせを受け付けました');
193
            $I->seeInLastEmailTo($email, '姓 名 様');
194
            $I->seeInLastEmailTo($email, 'お問い合わせ内容の送信');
195
        }
196
    }
197
}
198