|
@@ 49-73 (lines=25) @@
|
| 46 |
|
$I->see('新規登録', '.c-contentsArea__primaryCol .btn-area-bottom .btn-ec-regular'); |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
public function systeminfo_メンバー管理登録実施(\AcceptanceTester $I) |
| 50 |
|
{ |
| 51 |
|
$I->wantTo('EA0803-UC01-T01 メンバー管理 - 登録 - 登録実施'); |
| 52 |
|
|
| 53 |
|
// 表示 |
| 54 |
|
$config = Fixtures::get('config'); |
| 55 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 56 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 57 |
|
|
| 58 |
|
$I->click('.c-contentsArea__primaryCol .card .btn-area-bottom .btn'); |
| 59 |
|
$I->see('メンバー登録・編集', '#member_form .c-contentsArea__primaryCol .card-header .card-title'); |
| 60 |
|
|
| 61 |
|
$I->fillField(['id' => 'admin_member_name'], 'admintest'); |
| 62 |
|
$I->fillField(['id' => 'admin_member_department'], 'admintest department'); |
| 63 |
|
$I->fillField(['id' => 'admin_member_login_id'], 'admintest'); |
| 64 |
|
$I->fillField(['id' => 'admin_member_password_first'], 'password'); |
| 65 |
|
$I->fillField(['id' => 'admin_member_password_second'], 'password'); |
| 66 |
|
$I->selectOption(['id' => 'admin_member_Authority'], 'システム管理者'); |
| 67 |
|
$I->selectOption(['id' => 'admin_member_Work_1'], '稼働'); |
| 68 |
|
$I->click('#member_form .c-conversionArea__container button'); |
| 69 |
|
$I->see('メンバーを保存しました。', '.c-contentsArea .alert-success'); |
| 70 |
|
|
| 71 |
|
$I->see('メンバー管理', '.c-contentsArea__primaryCol .card-header .card-title'); |
| 72 |
|
$I->see('admintest', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
public function systeminfo_メンバー管理登録未実施(\AcceptanceTester $I) |
| 76 |
|
{ |
|
@@ 75-98 (lines=24) @@
|
| 72 |
|
$I->see('admintest', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
public function systeminfo_メンバー管理登録未実施(\AcceptanceTester $I) |
| 76 |
|
{ |
| 77 |
|
$I->wantTo('EA0803-UC01-T02 メンバー管理 - 登録 - 登録未実施'); |
| 78 |
|
|
| 79 |
|
// 表示 |
| 80 |
|
$config = Fixtures::get('config'); |
| 81 |
|
$I->amOnPage('/'.$config['eccube_admin_route'].'/setting/system/member'); |
| 82 |
|
$I->see('システム設定メンバー管理', '.c-pageTitle'); |
| 83 |
|
|
| 84 |
|
$I->click('.c-contentsArea__primaryCol .card .btn-area-bottom .btn'); |
| 85 |
|
$I->see('メンバー登録・編集', '#member_form .c-contentsArea__primaryCol .card-header .card-title'); |
| 86 |
|
|
| 87 |
|
$I->fillField(['id' => 'admin_member_name'], 'admintest2'); |
| 88 |
|
$I->fillField(['id' => 'admin_member_department'], 'admintest department'); |
| 89 |
|
$I->fillField(['id' => 'admin_member_login_id'], 'admintest'); |
| 90 |
|
$I->fillField(['id' => 'admin_member_password_first'], 'password'); |
| 91 |
|
$I->fillField(['id' => 'admin_member_password_second'], 'password'); |
| 92 |
|
$I->selectOption(['id' => 'admin_member_Authority'], 'システム管理者'); |
| 93 |
|
$I->selectOption(['id' => 'admin_member_Work_1'], '稼働'); |
| 94 |
|
$I->click('#member_form .c-conversionArea__container .c-conversionArea__leftBlockItem a'); |
| 95 |
|
|
| 96 |
|
$I->see('メンバー管理', '.c-contentsArea__primaryCol .card-header .card-title'); |
| 97 |
|
$I->dontSee('admintest2', '#search_result tbody tr:nth-child(1) td:nth-child(1)'); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
public function systeminfo_メンバー管理登録異常(\AcceptanceTester $I) |
| 101 |
|
{ |