Code Duplication    Length = 12-13 lines in 2 locations

codeception/acceptance/EA03ProductCest.php 2 locations

@@ 260-271 (lines=12) @@
257
        $I->dontSeeElement(ProductClassEditPage::$規格一覧);
258
    }
259
260
    public function product_商品登録非公開(\AcceptanceTester $I)
261
    {
262
        $I->wantTo('EA0302-UC01-T01 商品登録 非公開');
263
264
        ProductEditPage::go($I)
265
            ->入力_商品名('test product1')
266
            ->入力_販売価格('1000')
267
            ->入力_カテゴリ(1)
268
            ->登録();
269
270
        $I->see('登録が完了しました。', ProductEditPage::$登録結果メッセージ);
271
    }
272
273
    public function product_商品登録公開(\AcceptanceTester $I)
274
    {
@@ 273-285 (lines=13) @@
270
        $I->see('登録が完了しました。', ProductEditPage::$登録結果メッセージ);
271
    }
272
273
    public function product_商品登録公開(\AcceptanceTester $I)
274
    {
275
        $I->wantTo('EA0302-UC01-T02 商品登録 公開');
276
277
        ProductEditPage::go($I)
278
            ->入力_商品名('test product2')
279
            ->入力_販売価格('1000')
280
            ->入力_カテゴリ(1)
281
            ->入力_公開()
282
            ->登録();
283
284
        $I->see('登録が完了しました。', ProductEditPage::$登録結果メッセージ);
285
    }
286
287
    public function product_商品編集規格なし(\AcceptanceTester $I)
288
    {