2 declare(strict_types = 1);
30 $I->useExistingSession(
'admin');
39 $I->waitForElementVisible(
'#web .modulemenu-group-container .modulemenu-item');
40 $I->click(
'#web_list');
41 $I->switchToContentFrame();
42 $I->waitForElement(
'#recordlist-sys_category');
43 $I->seeNumberOfElements(
'#recordlist-sys_category table > tbody > tr', [5, 100]);
52 $I->waitForElementVisible(
'#web .modulemenu-group-container .modulemenu-item');
53 $I->click(
'#web_list');
54 $I->switchToContentFrame();
56 $I->executeJS(
'$(\'.icon-actions-view-list-collapse\').click();');
58 $I->executeJS(
'$(\'a[data-table="sys_category"] .icon-actions-view-list-expand\').click();');
59 $I->waitForElementVisible(
'#recordlist-sys_category tr[data-uid="7"] a[data-original-title="Edit record"]');
61 $I->click(
'#recordlist-sys_category tr[data-uid="7"] a[data-original-title="Edit record"]');
62 $I->waitForText(
'Category', 20);
64 $I->fillField(
'input[data-formengine-input-name="data[sys_category][7][title]"]',
'level-1-4');
65 $I->click(
'.identifier-0_7 text.node-name');
66 $I->click(
'.identifier-0_3 text.node-name');
67 $I->click(
'button[name="_savedok"]');
69 $I->waitForElement(
'.svg-tree-wrapper svg');
70 $I->waitForText(
'Category');