2 declare(strict_types = 1);
30 $I->useExistingSession(
'admin');
32 $I->see(
'Backend users');
33 $I->click(
'Backend users');
35 $I->switchToContentFrame();
36 $I->selectOption(
'div.module-docheader select.t3-js-jumpMenuBox',
'Backend user groups');
37 $I->waitForElementVisible(
'table.table-striped');
38 $I->canSee(
'Backend User Group Listing',
'h1');
46 $groupname = $I->grabTextFrom(
'table.table-striped > tbody > tr:nth-child(1) > td.col-title > a > b');
48 $I->amGoingTo(
'test edit on group name');
49 $I->click(
'table.table-striped > tbody > tr:nth-child(1) > td.col-title > a');
52 $I->amGoingTo(
'test edit on edit button');
53 $I->click(
'table.table-striped > tbody > tr:nth-child(1) > td.col-control > div:nth-child(1) > a:nth-child(1)');
62 $I->amGoingTo(
'test the subgroup edit form');
63 $groupname = $I->grabTextFrom(
'table.table-striped > tbody > tr:nth-child(2) > td:nth-child(3) > a:nth-child(1)');
64 $I->click(
'table.table-striped > tbody > tr:nth-child(2) > td:nth-child(3) > a:nth-child(1)');
74 $I->waitForText(
'Edit Backend usergroup "' . $groupName .
'" on root level', 120);
75 $I->see(
'Edit Backend usergroup "' . $groupName .
'" on root level',
'h1');
77 $I->click(
'div.module-docheader .btn.t3js-editform-close');
78 $I->waitForElementVisible(
'table.table-striped');
79 $I->waitForText(
'Backend User Group Listing', 120);
80 $I->see(
'Backend User Group Listing',
'h1');