2 declare(strict_types = 1);
32 $I->useExistingSession(
'admin');
41 $I->switchToContentFrame();
42 $I->canSee(
'Web>Page module',
'h4');
51 $currentPageTitle =
'styleguide TCA demo';
52 $newPageTitle =
'styleguide TCA demo page';
55 $pageTree->openPath([$currentPageTitle]);
57 $I->switchToContentFrame();
60 $this->
renamePage($I, $currentPageTitle, $newPageTitle);
63 $this->
renamePage($I, $newPageTitle, $currentPageTitle);
73 $editLinkSelector =
'a[data-action="edit"]';
74 $inputFieldSelector =
'input[class*="t3js-title-edit-input"]';
76 $I->canSee($oldTitle,
'h1');
77 $I->moveMouseOver(
'.t3js-title-inlineedit');
79 $I->comment(
'Activate inline edit of page title');
80 $I->seeElement($editLinkSelector);
81 $I->click($editLinkSelector);
82 $I->seeElement($inputFieldSelector);
84 $I->comment(
'Set new value and save');
85 $I->fillField($inputFieldSelector, $newTitle);
86 $I->click(
'button[data-action="submit"]');
88 $I->comment(
'See the new page title');
89 $I->waitForElementNotVisible($inputFieldSelector);
90 $I->canSee($newTitle,
'h1');