Commit 5ddff8d9 authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Richard Haeser
Browse files

[BUGFIX] Use site name rather than pageUid for calling context menu

PageTree Acceptance tests must not rely on pageUids, as those can
change unexpected. Better to find the page via its title.

Credits to Christian Kuhn for coming up with the xpath.

Resolves: #93538
Releases: master, 10.4, 9.5
Change-Id: Ia6d887728bac05d775ecfc3a3cc45045f96ffd1f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67939

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
parent 7ae33021
......@@ -112,8 +112,8 @@ class PageTreeFilterCest
$I->canSee('elements group', $this->inPageTree);
$I->canSee('inline mngroup', $this->inPageTree);
$inlineMnGroupIcon = '.identifier-0_97 > g.node-icon-container';
$I->click($inlineMnGroupIcon);
$I->clickWithRightButton('//*[text()=\'inline mngroup\']');
$I->canSeeElement('#contentMenu0');
$I->click('Delete', '#contentMenu0');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment