|
@@ 70-76 (lines=7) @@
|
| 67 |
|
return $this; |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
private function ストアプラグイン_ボタンクリック($pluginCode, $label) |
| 71 |
|
{ |
| 72 |
|
$xpath = ['xpath' => '//*[@id="page_admin_store_plugin"]//div/h5[contains(text(), "オーナーズストアのプラグイン")]/../..//table/tbody//td[3]/p[contains(text(), "'.$pluginCode.'")]/../../td[6]//i[@data-original-title="'.$label.'"]/parent::node()']; |
| 73 |
|
$this->tester->click($xpath); |
| 74 |
|
|
| 75 |
|
return $this; |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
public function 独自プラグイン_有効化($pluginCode) |
| 79 |
|
{ |
|
@@ 97-103 (lines=7) @@
|
| 94 |
|
return $this; |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
private function 独自プラグイン_ボタンクリック($pluginCode, $label) |
| 98 |
|
{ |
| 99 |
|
$xpath = ['xpath' => '//*[@id="page_admin_store_plugin"]//div/h5[contains(text(), "ユーザー独自プラグイン")]/../..//table/tbody//td[3][contains(text(), "'.$pluginCode.'")]/../td[6]//i[@data-original-title="'.$label.'"]/parent::node()']; |
| 100 |
|
$this->tester->click($xpath); |
| 101 |
|
|
| 102 |
|
return $this; |
| 103 |
|
} |
| 104 |
|
} |
| 105 |
|
|