Skip to content
Snippets Groups Projects
Commit 0ec95a1d authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Bartsch
Browse files

[BUGFIX] Fix PageTreeFilterCest

The SvgTree markup changed in #87743 causing
acceptance test failures.
This wasn't discovered as gitlab-ci missed to vote negative.

The text node for the page "inline mngroup" now
contains additional HTML when filtering for "Group".
This new markup rendered the previous xpath invalid:

  inline mn<tspan class="node-highlight-text">group</tspan>

The xpath is now adapted to only filter for the text node.

Releases: master
Resolves: #93977
Related: #87743
Change-Id: Id72e6239536c52cb30912b095d720331a8a3212f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68849


Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 2e9faab1
Branches
Tags
No related merge requests found
......@@ -106,7 +106,7 @@ class PageTreeFilterCest
$I->canSee('elements group', $this->inPageTree);
$I->canSee('inline mngroup', $this->inPageTree);
$I->clickWithRightButton('//*[text()=\'inline mngroup\']');
$I->clickWithRightButton('//*[text()=\'inline mn\']');
$I->canSeeElement('#contentMenu0');
$I->click('[data-callback-action="deleteRecord"]', '#contentMenu0');
......
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