Failed Conditions
Branch experimental/sf (68db07)
by Kentaro
42:17 queued 33:39
created
codeception/acceptance/EA05CustomerCest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
         $CustomerRegisterPage->登録();
94 94
         /* ブラウザによるhtml5のエラーなのでハンドリング不可 */
95
-        $I->see('会員情報を保存しました。', CustomerEditPage::$登録完了メッセージ);    }
95
+        $I->see('会員情報を保存しました。', CustomerEditPage::$登録完了メッセージ); }
96 96
 
97 97
     public function customer_会員登録_必須項目未入力(\AcceptanceTester $I)
98 98
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         $CustomerListPage = CustomerManagePage::go($I)
147 147
             ->検索($customer->getEmail());
148 148
 
149
-        $I->see('検索結果:1件が該当しました' ,CustomerManagePage::$検索結果メッセージ);
149
+        $I->see('検索結果:1件が該当しました', CustomerManagePage::$検索結果メッセージ);
150 150
 
151 151
         $CustomerListPage->一覧_編集(1);
152 152
 
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 use Codeception\Util\Fixtures;
4 4
 use Page\Admin\CsvSettingsPage;
5
-use Page\Admin\CustomerManagePage;
6 5
 use Page\Admin\CustomerEditPage;
6
+use Page\Admin\CustomerManagePage;
7 7
 
8 8
 /**
9 9
  * @group admin
Please login to merge, or discard this patch.
codeception/acceptance/EF02ProductCest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         ProductDetailPage::go($I, 2);
141 141
 
142 142
         // 「カートに入れる」ボタンが、非活性となり「ただいま品切れ中です」と表示される。
143
-        $I->see('ただいま品切れ中です','#form1 button');
143
+        $I->see('ただいま品切れ中です', '#form1 button');
144 144
     }
145 145
 
146 146
     public function product_商品詳細カテゴリリンク(\AcceptanceTester $I)
Please login to merge, or discard this patch.
codeception/acceptance/EA04OrderCest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
         // 削除
163 163
         $OrderNumForDel = $OrderListPage->一覧_注文番号(1);
164 164
         $OrderListPage
165
-          ->一覧_選択(1)
166
-          ->一覧_削除()
167
-          ->Accept_削除();
165
+            ->一覧_選択(1)
166
+            ->一覧_削除()
167
+            ->Accept_削除();
168 168
 
169 169
         $I->see('受注情報を削除しました', ['css' => '#page_admin_order > div > div.c-contentsArea > div.alert.alert-success.alert-dismissible.fade.show.m-3 > span']);
170 170
         $I->assertNotEquals($OrderNumForDel, $OrderListPage->一覧_注文番号(1));
@@ -172,9 +172,9 @@  discard block
 block discarded – undo
172 172
         // 削除キャンセル
173 173
         $OrderNumForDontDel = $OrderListPage->一覧_注文番号(1);
174 174
         $OrderListPage
175
-          ->一覧_選択(1)
176
-          ->一覧_削除()
177
-          ->Cancel_削除();
175
+            ->一覧_選択(1)
176
+            ->一覧_削除()
177
+            ->Cancel_削除();
178 178
 
179 179
         $I->assertEquals($OrderNumForDontDel, $OrderListPage->一覧_注文番号(1));
180 180
     }
Please login to merge, or discard this patch.
codeception/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\UnitTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/CategoryManagePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         return "body > div > div.c-contentsArea > div.c-contentsArea__cols > div.c-contentsArea__primaryCol > div > div > div > div > ul > li:nth-child($rowNum) > div > div.col.d-flex.align-items-center > a";
99 99
     }
100 100
 
101
-    public static function XPathでタグを取得する($textEl){
101
+    public static function XPathでタグを取得する($textEl) {
102 102
         return '//*[@id="page_admin_product_category"]/div[1]/div[3]/div[3]/div[1]/div/div/div/div/ul/li/div/div[2]/a[contains(text(), "'.$textEl.'")]';
103 103
     }
104 104
 }
105 105
\ No newline at end of file
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/OrderManagePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
 
114 114
     public function 受注ステータス検索($value = '')
115 115
     {
116
-        $this->tester->checkOption(['id' => 'admin_search_order_status_' . $value]);
116
+        $this->tester->checkOption(['id' => 'admin_search_order_status_'.$value]);
117 117
         $this->tester->click('#search_form #search_submit');
118 118
         return $this;
119 119
     }
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/ProductManagePage.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,8 +150,8 @@
 block discarded – undo
150 150
      */
151 151
     public function 検索結果_削除($rowNum)
152 152
     {
153
-      $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a");
154
-      return $this;
153
+        $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a");
154
+        return $this;
155 155
     }
156 156
 
157 157
     public function Accept_削除($rowNum)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     {
64 64
         $this->tester->click(self::$詳細検索ボタン);
65 65
         $this->tester->wait(1);
66
-        $this->tester->checkOption(['id' => 'admin_search_product_status_' . $value]);
66
+        $this->tester->checkOption(['id' => 'admin_search_product_status_'.$value]);
67 67
         $this->tester->click(self::$検索ボタン);
68 68
         $this->tester->see('商品マスター商品管理', '.c-pageTitle');
69 69
         return $this;
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/OwnersPluginPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public function インストール($fileName)
31 31
     {
32
-        $this->tester->attachFile(['id' => 'plugin_local_install_plugin_archive'],  $fileName);
32
+        $this->tester->attachFile(['id' => 'plugin_local_install_plugin_archive'], $fileName);
33 33
         $this->tester->click('#aside_column button');
34 34
         return $this;
35 35
     }
Please login to merge, or discard this patch.
codeception/_support/Page/Front/MultipleShippingPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,14 +52,14 @@
 block discarded – undo
52 52
 
53 53
     public function 入力_お届け先($productNo, $shippingNo, $text)
54 54
     {
55
-        $id = 'form_shipping_multiple_' . $productNo . '_shipping_' . $shippingNo . '_customer_address';
55
+        $id = 'form_shipping_multiple_'.$productNo.'_shipping_'.$shippingNo.'_customer_address';
56 56
         $this->tester->selectOption(['id' => $id], ['text' => $text]);
57 57
         return $this;
58 58
     }
59 59
 
60 60
     public function 入力_数量($productNo, $shippingNo, $value)
61 61
     {
62
-        $id = 'form_shipping_multiple_' . $productNo . '_shipping_' . $shippingNo . '_quantity';
62
+        $id = 'form_shipping_multiple_'.$productNo.'_shipping_'.$shippingNo.'_quantity';
63 63
         $this->tester->fillField(['id' => $id], $value);
64 64
         return $this;
65 65
     }
Please login to merge, or discard this patch.