@@ -179,7 +179,7 @@ |
||
| 179 | 179 | * 明細追加処理. |
| 180 | 180 | * |
| 181 | 181 | * @param ItemHolderInterface $itemHolder |
| 182 | - * @param $discount |
|
| 182 | + * @param integer $discount |
|
| 183 | 183 | */ |
| 184 | 184 | private function addPointDiscountItem(ItemHolderInterface $itemHolder, $discount) |
| 185 | 185 | { |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | parent::__construct($I); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param \AcceptanceTester $I |
|
| 38 | + */ |
|
| 36 | 39 | public static function go($I) |
| 37 | 40 | { |
| 38 | 41 | $page = new ProductCsvUploadPage($I); |
@@ -45,12 +45,18 @@ discard block |
||
| 45 | 45 | return $this; |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param string $value |
|
| 50 | + */ |
|
| 48 | 51 | public function 入力_ご注文者お名前($value) |
| 49 | 52 | { |
| 50 | 53 | $this->tester->fillField(['id' => 'admin_search_shipping_order_name'], $value); |
| 51 | 54 | return $this; |
| 52 | 55 | } |
| 53 | 56 | |
| 57 | + /** |
|
| 58 | + * @param string $value |
|
| 59 | + */ |
|
| 54 | 60 | public function 入力_ご注文者お名前フリガナ($value) |
| 55 | 61 | { |
| 56 | 62 | $this->tester->fillField(['id' => 'admin_search_shipping_order_kana'], $value); |
@@ -78,6 +84,9 @@ discard block |
||
| 78 | 84 | return $this; |
| 79 | 85 | } |
| 80 | 86 | |
| 87 | + /** |
|
| 88 | + * @param integer $rowNum |
|
| 89 | + */ |
|
| 81 | 90 | public function 一覧_編集($rowNum) |
| 82 | 91 | { |
| 83 | 92 | $this->tester->click(['xpath' => "//*[@id='form_bulk']/div[2]/div/table/tbody/tr[${rowNum}]/td[2]/a"]); |
@@ -137,16 +146,25 @@ discard block |
||
| 137 | 146 | $this->tester->click('#form_bulk #btn_bulk_mail'); |
| 138 | 147 | } |
| 139 | 148 | |
| 149 | + /** |
|
| 150 | + * @param integer $rowNum |
|
| 151 | + */ |
|
| 140 | 152 | public function 一覧_チェックボックス($rowNum) |
| 141 | 153 | { |
| 142 | 154 | $this->tester->click(['xpath' => "//*[@id='form_bulk']/div[2]/div/table/tbody/tr[${rowNum}]/td[1]/input"]); |
| 143 | 155 | } |
| 144 | 156 | |
| 157 | + /** |
|
| 158 | + * @param integer $rowNum |
|
| 159 | + */ |
|
| 145 | 160 | public function 取得_出荷伝票番号($rowNum) |
| 146 | 161 | { |
| 147 | 162 | return $this->tester->grabTextFrom("#form_bulk table > tbody > tr:nth-child(${rowNum}) > td:nth-child(3)"); |
| 148 | 163 | } |
| 149 | 164 | |
| 165 | + /** |
|
| 166 | + * @param integer $rowNum |
|
| 167 | + */ |
|
| 150 | 168 | public function 取得_出荷日($rowNum) |
| 151 | 169 | { |
| 152 | 170 | return $this->tester->grabTextFrom("#form_bulk table > tbody > tr:nth-child(${rowNum}) > td:nth-child(7)"); |
@@ -19,6 +19,9 @@ discard block |
||
| 19 | 19 | parent::__construct($I); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param \AcceptanceTester $I |
|
| 24 | + */ |
|
| 22 | 25 | public static function go($I) |
| 23 | 26 | { |
| 24 | 27 | $page = new self($I); |
@@ -26,6 +29,9 @@ discard block |
||
| 26 | 29 | return $page; |
| 27 | 30 | } |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @param \AcceptanceTester $I |
|
| 34 | + */ |
|
| 29 | 35 | public static function at($I) |
| 30 | 36 | { |
| 31 | 37 | $page = new self($I); |
@@ -33,6 +39,9 @@ discard block |
||
| 33 | 39 | return $page; |
| 34 | 40 | } |
| 35 | 41 | |
| 42 | + /** |
|
| 43 | + * @param string $value |
|
| 44 | + */ |
|
| 36 | 45 | public function 入力_出荷日($value) |
| 37 | 46 | { |
| 38 | 47 | $this->tester->executeJS("document.getElementById('shipping_shipping_date').value = '{$value}'"); |
@@ -46,30 +55,45 @@ discard block |
||
| 46 | 55 | return $this; |
| 47 | 56 | } |
| 48 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $value |
|
| 60 | + */ |
|
| 49 | 61 | public function 入力_姓($value) |
| 50 | 62 | { |
| 51 | 63 | $this->tester->fillField(['id' => 'shipping_name_name01'], $value); |
| 52 | 64 | return $this; |
| 53 | 65 | } |
| 54 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $value |
|
| 69 | + */ |
|
| 55 | 70 | public function 入力_名($value) |
| 56 | 71 | { |
| 57 | 72 | $this->tester->fillField(['id' => 'shipping_name_name02'], $value); |
| 58 | 73 | return $this; |
| 59 | 74 | } |
| 60 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $value |
|
| 78 | + */ |
|
| 61 | 79 | public function 入力_セイ($value) |
| 62 | 80 | { |
| 63 | 81 | $this->tester->fillField(['id' => 'shipping_kana_kana01'], $value); |
| 64 | 82 | return $this; |
| 65 | 83 | } |
| 66 | 84 | |
| 85 | + /** |
|
| 86 | + * @param string $value |
|
| 87 | + */ |
|
| 67 | 88 | public function 入力_メイ($value) |
| 68 | 89 | { |
| 69 | 90 | $this->tester->fillField(['id' => 'shipping_kana_kana02'], $value); |
| 70 | 91 | return $this; |
| 71 | 92 | } |
| 72 | 93 | |
| 94 | + /** |
|
| 95 | + * @param string $value |
|
| 96 | + */ |
|
| 73 | 97 | public function 入力_郵便番号($value) |
| 74 | 98 | { |
| 75 | 99 | $this->tester->fillField(['id' => 'shipping_postal_code'], $value); |
@@ -83,18 +107,27 @@ discard block |
||
| 83 | 107 | return $this; |
| 84 | 108 | } |
| 85 | 109 | |
| 110 | + /** |
|
| 111 | + * @param string $value |
|
| 112 | + */ |
|
| 86 | 113 | public function 入力_市区町村名($value) |
| 87 | 114 | { |
| 88 | 115 | $this->tester->fillField(['id' => 'shipping_address_addr01'], $value); |
| 89 | 116 | return $this; |
| 90 | 117 | } |
| 91 | 118 | |
| 119 | + /** |
|
| 120 | + * @param string $value |
|
| 121 | + */ |
|
| 92 | 122 | public function 入力_番地_ビル名($value) |
| 93 | 123 | { |
| 94 | 124 | $this->tester->fillField(['id' => 'shipping_address_addr02'], $value); |
| 95 | 125 | return $this; |
| 96 | 126 | } |
| 97 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $value |
|
| 130 | + */ |
|
| 98 | 131 | public function 入力_電話番号($value) |
| 99 | 132 | { |
| 100 | 133 | $this->tester->fillField(['id' => 'shipping_phone_number'], $value); |
@@ -102,18 +135,27 @@ discard block |
||
| 102 | 135 | return $this; |
| 103 | 136 | } |
| 104 | 137 | |
| 138 | + /** |
|
| 139 | + * @param string $value |
|
| 140 | + */ |
|
| 105 | 141 | public function 入力_出荷伝票番号($value) |
| 106 | 142 | { |
| 107 | 143 | $this->tester->fillField(['id' => 'shipping_tracking_number'], $value); |
| 108 | 144 | return $this; |
| 109 | 145 | } |
| 110 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string[] $value |
|
| 149 | + */ |
|
| 111 | 150 | public function 入力_配送業者($value) |
| 112 | 151 | { |
| 113 | 152 | $this->tester->selectOption(['id' => 'shipping_Delivery'], $value); |
| 114 | 153 | return $this; |
| 115 | 154 | } |
| 116 | 155 | |
| 156 | + /** |
|
| 157 | + * @param string $value |
|
| 158 | + */ |
|
| 117 | 159 | public function 入力_配達用メモ($value) |
| 118 | 160 | { |
| 119 | 161 | $this->tester->fillField(['id' => 'shipping_note'], $value); |
@@ -128,6 +170,9 @@ discard block |
||
| 128 | 170 | return $this; |
| 129 | 171 | } |
| 130 | 172 | |
| 173 | + /** |
|
| 174 | + * @param integer $rowNum |
|
| 175 | + */ |
|
| 131 | 176 | public function 商品検索結果_選択($rowNum) |
| 132 | 177 | { |
| 133 | 178 | $this->tester->click(['xpath' => "//*[@id='searchItemsResult']/table/tbody/tr[${rowNum}]/td[5]/i"]); |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @param ProductClassRepository $productClassRepository |
| 57 | 57 | * @param CartService $cartService |
| 58 | 58 | * @param PurchaseFlow $cartPurchaseFlow |
| 59 | - * @param BaseInfo $BaseInfo |
|
| 59 | + * @param BaseInfo $baseInfo |
|
| 60 | 60 | */ |
| 61 | 61 | public function __construct( |
| 62 | 62 | ProductClassRepository $productClassRepository, |