@@ -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]' => 'セイ', |
@@ -162,9 +162,9 @@ discard block |
||
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 |
||
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 | } |
@@ -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) |
@@ -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 |
@@ -20,7 +20,7 @@ |
||
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 | } |