@@ -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); |
@@ -46,30 +52,45 @@ discard block |
||
46 | 52 | return $this; |
47 | 53 | } |
48 | 54 | |
55 | + /** |
|
56 | + * @param string $value |
|
57 | + */ |
|
49 | 58 | public function 入力_姓($value) |
50 | 59 | { |
51 | 60 | $this->tester->fillField(['id' => 'shipping_name_name01'], $value); |
52 | 61 | return $this; |
53 | 62 | } |
54 | 63 | |
64 | + /** |
|
65 | + * @param string $value |
|
66 | + */ |
|
55 | 67 | public function 入力_名($value) |
56 | 68 | { |
57 | 69 | $this->tester->fillField(['id' => 'shipping_name_name02'], $value); |
58 | 70 | return $this; |
59 | 71 | } |
60 | 72 | |
73 | + /** |
|
74 | + * @param string $value |
|
75 | + */ |
|
61 | 76 | public function 入力_セイ($value) |
62 | 77 | { |
63 | 78 | $this->tester->fillField(['id' => 'shipping_kana_kana01'], $value); |
64 | 79 | return $this; |
65 | 80 | } |
66 | 81 | |
82 | + /** |
|
83 | + * @param string $value |
|
84 | + */ |
|
67 | 85 | public function 入力_メイ($value) |
68 | 86 | { |
69 | 87 | $this->tester->fillField(['id' => 'shipping_kana_kana02'], $value); |
70 | 88 | return $this; |
71 | 89 | } |
72 | 90 | |
91 | + /** |
|
92 | + * @param string $value |
|
93 | + */ |
|
73 | 94 | public function 入力_郵便番号($value) |
74 | 95 | { |
75 | 96 | $this->tester->fillField(['id' => 'shipping_postal_code'], $value); |
@@ -83,18 +104,27 @@ discard block |
||
83 | 104 | return $this; |
84 | 105 | } |
85 | 106 | |
107 | + /** |
|
108 | + * @param string $value |
|
109 | + */ |
|
86 | 110 | public function 入力_市区町村名($value) |
87 | 111 | { |
88 | 112 | $this->tester->fillField(['id' => 'shipping_address_addr01'], $value); |
89 | 113 | return $this; |
90 | 114 | } |
91 | 115 | |
116 | + /** |
|
117 | + * @param string $value |
|
118 | + */ |
|
92 | 119 | public function 入力_番地_ビル名($value) |
93 | 120 | { |
94 | 121 | $this->tester->fillField(['id' => 'shipping_address_addr02'], $value); |
95 | 122 | return $this; |
96 | 123 | } |
97 | 124 | |
125 | + /** |
|
126 | + * @param string $value |
|
127 | + */ |
|
98 | 128 | public function 入力_電話番号($value) |
99 | 129 | { |
100 | 130 | $this->tester->fillField(['id' => 'shipping_phone_number'], $value); |
@@ -102,18 +132,27 @@ discard block |
||
102 | 132 | return $this; |
103 | 133 | } |
104 | 134 | |
135 | + /** |
|
136 | + * @param string $value |
|
137 | + */ |
|
105 | 138 | public function 入力_出荷伝票番号($value) |
106 | 139 | { |
107 | 140 | $this->tester->fillField(['id' => 'shipping_tracking_number'], $value); |
108 | 141 | return $this; |
109 | 142 | } |
110 | 143 | |
144 | + /** |
|
145 | + * @param string[] $value |
|
146 | + */ |
|
111 | 147 | public function 入力_配送業者($value) |
112 | 148 | { |
113 | 149 | $this->tester->selectOption(['id' => 'shipping_Delivery'], $value); |
114 | 150 | return $this; |
115 | 151 | } |
116 | 152 | |
153 | + /** |
|
154 | + * @param string $value |
|
155 | + */ |
|
117 | 156 | public function 入力_配達用メモ($value) |
118 | 157 | { |
119 | 158 | $this->tester->fillField(['id' => 'shipping_note'], $value); |
@@ -128,6 +167,9 @@ discard block |
||
128 | 167 | return $this; |
129 | 168 | } |
130 | 169 | |
170 | + /** |
|
171 | + * @param integer $rowNum |
|
172 | + */ |
|
131 | 173 | public function 商品検索結果_選択($rowNum) |
132 | 174 | { |
133 | 175 | $this->tester->click(['xpath' => "//*[@id='searchItemsResult']/table/tbody/tr[${rowNum}]/td[5]/i"]); |
@@ -96,6 +96,9 @@ discard block |
||
96 | 96 | $this->configureTranslations($container, $enabled, $pluginDir); |
97 | 97 | } |
98 | 98 | |
99 | + /** |
|
100 | + * @param string $pluginDir |
|
101 | + */ |
|
99 | 102 | protected function configureTwigPaths(ContainerBuilder $container, $enabled, $pluginDir) |
100 | 103 | { |
101 | 104 | $paths = []; |
@@ -114,6 +117,9 @@ discard block |
||
114 | 117 | } |
115 | 118 | } |
116 | 119 | |
120 | + /** |
|
121 | + * @param string $pluginDir |
|
122 | + */ |
|
117 | 123 | protected function configureTranslations(ContainerBuilder $container, $enabled, $pluginDir) |
118 | 124 | { |
119 | 125 | $paths = []; |
@@ -155,6 +161,9 @@ discard block |
||
155 | 161 | return empty($tables) ? false : true; |
156 | 162 | } |
157 | 163 | |
164 | + /** |
|
165 | + * @param string $pluginDir |
|
166 | + */ |
|
158 | 167 | protected function getPluginDirectories($pluginDir) |
159 | 168 | { |
160 | 169 | $finder = (new Finder()) |
@@ -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 | { |