@@ -377,7 +377,7 @@ |
||
| 377 | 377 | |
| 378 | 378 | $findPlugins = Fixtures::get('findPlugins'); |
| 379 | 379 | $Plugins = $findPlugins(); |
| 380 | - if (is_array($Plugins) && count($Plugins) > 0 ) { |
|
| 380 | + if (is_array($Plugins) && count($Plugins) > 0) { |
|
| 381 | 381 | $I->getScenario()->skip('プラグインのアンインストールが必要なため、テストをスキップします'); |
| 382 | 382 | } |
| 383 | 383 | |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | // 会員情報入力フォームに、会員情報を入力する |
| 97 | 97 | // 「同意する」ボタンを押下する |
| 98 | - $I->submitForm(['css' => '.ec-layoutRole__main form'],[ |
|
| 98 | + $I->submitForm(['css' => '.ec-layoutRole__main form'], [ |
|
| 99 | 99 | 'entry[name][name01]' => '姓', |
| 100 | 100 | 'entry[name][name02]' => '名', |
| 101 | 101 | 'entry[kana][kana01]' => 'セイ', |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | // 会員情報入力フォームに、会員情報を入力する |
| 130 | 130 | // 「同意する」ボタンを押下する |
| 131 | - $I->submitForm(['css' => '.ec-layoutRole__main form'],[ |
|
| 131 | + $I->submitForm(['css' => '.ec-layoutRole__main form'], [ |
|
| 132 | 132 | 'entry[name][name01]' => '', |
| 133 | 133 | 'entry[name][name02]' => '名', |
| 134 | 134 | 'entry[kana][kana01]' => 'セイ', |
@@ -140,7 +140,7 @@ |
||
| 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) |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $createCustomer = Fixtures::get('createCustomer'); |
| 82 | 82 | $customer = $createCustomer(); |
| 83 | 83 | $I->resetEmails(); |
| 84 | - $I->submitForm('#form1',[ |
|
| 84 | + $I->submitForm('#form1', [ |
|
| 85 | 85 | 'login_email' => $customer->getEmail() |
| 86 | 86 | ]); |
| 87 | 87 | $I->see('パスワード発行メールの送信 完了', 'div.ec-pageHeader h1'); |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $I->wantTo('perform actions and see result'); |
| 19 | 19 | $I->amOnPage('/'); |
| 20 | - $I->see('くらしを楽しむライフスタイルグッズ','.copy'); |
|
| 20 | + $I->see('くらしを楽しむライフスタイルグッズ', '.copy'); |
|
| 21 | 21 | |
| 22 | - $shopName = $I->grabFromDatabase('dtb_base_info','shop_name'); |
|
| 23 | - $I->assertEquals('EC-CUBE3 SHOP',$shopName); |
|
| 22 | + $shopName = $I->grabFromDatabase('dtb_base_info', 'shop_name'); |
|
| 23 | + $I->assertEquals('EC-CUBE3 SHOP', $shopName); |
|
| 24 | 24 | |
| 25 | - $products = $I->grabFromDatabase('dtb_product','status',array('product_id'=>1)); |
|
| 25 | + $products = $I->grabFromDatabase('dtb_product', 'status', array('product_id'=>1)); |
|
| 26 | 26 | codecept_debug($products); |
| 27 | 27 | |
| 28 | 28 | $bi = Fixtures::get('baseinfo'); |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | public function 規格選択($array) |
| 64 | 64 | { |
| 65 | 65 | foreach ($array as $index=>$option) { |
| 66 | - $this->tester->selectOption(['id' => 'classcategory_id'.($index+1)], $option); |
|
| 66 | + $this->tester->selectOption(['id' => 'classcategory_id'.($index + 1)], $option); |
|
| 67 | 67 | } |
| 68 | 68 | return $this; |
| 69 | 69 | } |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | |
| 115 | 115 | public function 受注ステータス検索($value = '') |
| 116 | 116 | { |
| 117 | - $this->tester->checkOption(['id' => 'admin_search_order_status_' . $value]); |
|
| 117 | + $this->tester->checkOption(['id' => 'admin_search_order_status_'.$value]); |
|
| 118 | 118 | $this->tester->click('#search_form #search_submit'); |
| 119 | 119 | return $this; |
| 120 | 120 | } |
@@ -29,7 +29,7 @@ |
||
| 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 | } |
@@ -98,7 +98,7 @@ |
||
| 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 |