@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class DragAndDropBy extends WebDriverActions |
14 | 14 | { |
15 | + /** |
|
16 | + * @param \Facebook\WebDriver\Remote\RemoteWebElement $source |
|
17 | + */ |
|
15 | 18 | public function __construct(WebDriver $driver, $source, $x_offset, $y_offset) |
16 | 19 | { |
17 | 20 | parent::__construct($driver); |
@@ -14,6 +14,9 @@ |
||
14 | 14 | */ |
15 | 15 | private $timeout_in_second; |
16 | 16 | |
17 | + /** |
|
18 | + * @param integer $timeout_in_second |
|
19 | + */ |
|
17 | 20 | function __construct($timeout_in_second) |
18 | 21 | { |
19 | 22 | $this->timeout_in_second = $timeout_in_second; |
@@ -48,12 +48,18 @@ discard block |
||
48 | 48 | return $this; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param integer $rowNum |
|
53 | + */ |
|
51 | 54 | public function 一覧_編集($rowNum) |
52 | 55 | { |
53 | 56 | $this->tester->click("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td:nth-child(2) > a"); |
54 | 57 | return $this; |
55 | 58 | } |
56 | 59 | |
60 | + /** |
|
61 | + * @param integer $rowNum |
|
62 | + */ |
|
57 | 63 | public function 一覧_削除($rowNum, $execute = true) |
58 | 64 | { |
59 | 65 | $this->tester->click("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div > a"); |
@@ -67,6 +73,9 @@ discard block |
||
67 | 73 | return $this; |
68 | 74 | } |
69 | 75 | |
76 | + /** |
|
77 | + * @param integer $rowNum |
|
78 | + */ |
|
70 | 79 | public function 一覧_仮会員メール再送($rowNum) |
71 | 80 | { |
72 | 81 | $this->tester->click(['xpath' => "//*[@id='search_form']//div/table/tbody/tr[${rowNum}]/td[6]/div/div[1]/a"]); |
@@ -92,6 +101,9 @@ discard block |
||
92 | 101 | $this->tester->click('#search_form > div.c-contentsArea__cols > div > div > div.row.justify-content-between.mb-2 > div.col-5.text-right > div:nth-child(2) > div > button:nth-child(2)'); |
93 | 102 | } |
94 | 103 | |
104 | + /** |
|
105 | + * @param integer $rowNum |
|
106 | + */ |
|
95 | 107 | public function 一覧_会員ID($rowNum) |
96 | 108 | { |
97 | 109 | return $this->tester->grabTextFrom("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pl-3"); |
@@ -27,6 +27,9 @@ |
||
27 | 27 | class ShoppingLoginPage extends AbstractFrontPage |
28 | 28 | { |
29 | 29 | |
30 | + /** |
|
31 | + * @param \AcceptanceTester $I |
|
32 | + */ |
|
30 | 33 | public static function at($I) |
31 | 34 | { |
32 | 35 | $page = new self($I); |
@@ -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); |
@@ -25,6 +25,7 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string $type |
28 | + * @param string|null $message |
|
28 | 29 | */ |
29 | 30 | private function __construct($type, $message) |
30 | 31 | { |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | return $page; |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param \AcceptanceTester $I |
|
31 | + */ |
|
29 | 32 | public static function at($I) |
30 | 33 | { |
31 | 34 | $page = new self($I); |
@@ -46,30 +49,45 @@ discard block |
||
46 | 49 | return $this; |
47 | 50 | } |
48 | 51 | |
52 | + /** |
|
53 | + * @param string $value |
|
54 | + */ |
|
49 | 55 | public function 入力_姓($value, $num = 0) |
50 | 56 | { |
51 | 57 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_name_name01'], $value); |
52 | 58 | return $this; |
53 | 59 | } |
54 | 60 | |
61 | + /** |
|
62 | + * @param string $value |
|
63 | + */ |
|
55 | 64 | public function 入力_名($value, $num = 0) |
56 | 65 | { |
57 | 66 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_name_name02'], $value); |
58 | 67 | return $this; |
59 | 68 | } |
60 | 69 | |
70 | + /** |
|
71 | + * @param string $value |
|
72 | + */ |
|
61 | 73 | public function 入力_セイ($value, $num = 0) |
62 | 74 | { |
63 | 75 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_kana_kana01'], $value); |
64 | 76 | return $this; |
65 | 77 | } |
66 | 78 | |
79 | + /** |
|
80 | + * @param string $value |
|
81 | + */ |
|
67 | 82 | public function 入力_メイ($value, $num = 0) |
68 | 83 | { |
69 | 84 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_kana_kana02'], $value); |
70 | 85 | return $this; |
71 | 86 | } |
72 | 87 | |
88 | + /** |
|
89 | + * @param string $value |
|
90 | + */ |
|
73 | 91 | public function 入力_郵便番号($value, $num = 0) |
74 | 92 | { |
75 | 93 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_postal_code'], $value); |
@@ -83,18 +101,27 @@ discard block |
||
83 | 101 | return $this; |
84 | 102 | } |
85 | 103 | |
104 | + /** |
|
105 | + * @param string $value |
|
106 | + */ |
|
86 | 107 | public function 入力_市区町村名($value, $num = 0) |
87 | 108 | { |
88 | 109 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_address_addr01'], $value); |
89 | 110 | return $this; |
90 | 111 | } |
91 | 112 | |
113 | + /** |
|
114 | + * @param string $value |
|
115 | + */ |
|
92 | 116 | public function 入力_番地_ビル名($value, $num = 0) |
93 | 117 | { |
94 | 118 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_address_addr02'], $value); |
95 | 119 | return $this; |
96 | 120 | } |
97 | 121 | |
122 | + /** |
|
123 | + * @param string $value |
|
124 | + */ |
|
98 | 125 | public function 入力_電話番号($value, $num = 0) |
99 | 126 | { |
100 | 127 | $this->tester->fillField(['id' => 'form_shippings_'.$num.'_phone_number'], $value); |