|
@@ 100-114 (lines=15) @@
|
| 97 |
|
$I->dontSee('admintest2', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
public function systeminfo_メンバー管理登録異常(\AcceptanceTester $I) |
| 101 |
|
{ |
| 102 |
|
$I->wantTo('EA0803-UC01-T03 メンバー管理 - 登録 - 異常パターン'); |
| 103 |
|
|
| 104 |
|
// 表示 |
| 105 |
|
$config = Fixtures::get('config'); |
| 106 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 107 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 108 |
|
|
| 109 |
|
$I->click('.c-contentsArea__primaryCol .card .btn-area-bottom .btn'); |
| 110 |
|
$I->see('メンバー登録・編集', '#member_form .c-contentsArea__primaryCol .card-header .card-title'); |
| 111 |
|
|
| 112 |
|
$I->click('#member_form .c-conversionArea__container button'); |
| 113 |
|
$I->see('入力されていません。', '#member_form div:nth-child(1) div'); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function systeminfo_メンバー管理編集実施(\AcceptanceTester $I) |
| 117 |
|
{ |
|
@@ 181-195 (lines=15) @@
|
| 178 |
|
$I->see('入力されていません。', '#member_form div:nth-child(1) div'); |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
public function systeminfo_メンバー管理登録下へ(\AcceptanceTester $I) |
| 182 |
|
{ |
| 183 |
|
$I->wantTo('EA0802-UC01-T02 メンバー管理 - 下へ'); |
| 184 |
|
|
| 185 |
|
// 表示 |
| 186 |
|
$config = Fixtures::get('config'); |
| 187 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 188 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 189 |
|
|
| 190 |
|
$I->click('#search_result tbody tr:nth-child(1) .action-down'); |
| 191 |
|
|
| 192 |
|
$I->waitForElementNotVisible(['css' => '.modal-backdrop']); |
| 193 |
|
|
| 194 |
|
$I->see('管理者', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
public function systeminfo_メンバー管理登録上へ(\AcceptanceTester $I) |
| 198 |
|
{ |
|
@@ 197-211 (lines=15) @@
|
| 194 |
|
$I->see('管理者', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
public function systeminfo_メンバー管理登録上へ(\AcceptanceTester $I) |
| 198 |
|
{ |
| 199 |
|
$I->wantTo('EA0802-UC01-T03 メンバー管理 - 上へ'); |
| 200 |
|
|
| 201 |
|
// 表示 |
| 202 |
|
$config = Fixtures::get('config'); |
| 203 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 204 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 205 |
|
|
| 206 |
|
$I->click('#search_result tbody tr:nth-child(2) .action-up'); |
| 207 |
|
|
| 208 |
|
$I->waitForElementNotVisible(['css' => '.modal-backdrop']); |
| 209 |
|
|
| 210 |
|
$I->see('管理者', '#search_result tbody tr:nth-child(2) td:nth-child(1)'); |
| 211 |
|
} |
| 212 |
|
|
| 213 |
|
public function systeminfo_メンバー管理削除(\AcceptanceTester $I) |
| 214 |
|
{ |
|
@@ 213-228 (lines=16) @@
|
| 210 |
|
$I->see('管理者', '#search_result tbody tr:nth-child(2) td:nth-child(1)'); |
| 211 |
|
} |
| 212 |
|
|
| 213 |
|
public function systeminfo_メンバー管理削除(\AcceptanceTester $I) |
| 214 |
|
{ |
| 215 |
|
$I->wantTo('EA0802-UC01-T06 メンバー管理 - 削除'); |
| 216 |
|
|
| 217 |
|
// 表示 |
| 218 |
|
$config = Fixtures::get('config'); |
| 219 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 220 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 221 |
|
|
| 222 |
|
$I->click('#search_result tbody tr:nth-child(1) .action-delete'); |
| 223 |
|
$I->waitForElementVisible(['css' => '#search_result tbody tr:nth-child(1) .modal']); |
| 224 |
|
$I->click('#search_result tbody tr:nth-child(1) .modal .btn-ec-delete'); |
| 225 |
|
|
| 226 |
|
$I->see('メンバーを削除しました。', '.c-contentsArea .alert-success'); |
| 227 |
|
$I->see('管理者', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 228 |
|
} |
| 229 |
|
|
| 230 |
|
public function systeminfo_メンバー管理自ユーザー削除(\AcceptanceTester $I) |
| 231 |
|
{ |