@@ -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); |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Codeception\Util\Fixtures; |
|
4 | 3 | use Page\Admin\OwnersPluginPage; |
5 | 4 | |
6 | 5 | /** |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use Codeception\Util\Fixtures; |
4 | -use Page\Admin\CustomerManagePage; |
|
5 | 4 | use Page\Admin\OrderManagePage; |
6 | 5 | use Page\Admin\TopPage; |
7 | 6 |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Codeception\Util\Fixtures; |
|
4 | - |
|
5 | 3 | /** |
6 | 4 | * @group admin |
7 | 5 | * @group admin01 |
@@ -1,8 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Codeception\Util\Fixtures; |
|
4 | 3 | use Page\Admin\CsvSettingsPage; |
5 | -use Page\Admin\CustomerAgreementSettingPage; |
|
6 | 4 | use Page\Admin\DeliveryEditPage; |
7 | 5 | use Page\Admin\DeliveryManagePage; |
8 | 6 | use Page\Admin\MailSettingsPage; |
@@ -10,7 +8,6 @@ discard block |
||
10 | 8 | use Page\Admin\PaymentManagePage; |
11 | 9 | use Page\Admin\ShopSettingPage; |
12 | 10 | use Page\Admin\TaxManagePage; |
13 | -use Page\Admin\TradelawSettingPage; |
|
14 | 11 | |
15 | 12 | /** |
16 | 13 | * @group admin |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use Codeception\Util\Fixtures; |
4 | -use Eccube\Entity\Master\CustomerStatus; |
|
5 | 4 | |
6 | 5 | /** |
7 | 6 | * @group front |
@@ -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'); |