Skip to content

Commit

Permalink
[BUGFIX] Fix PageTreeFilterCest
Browse files Browse the repository at this point in the history
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: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
bnf authored and o-ba committed Apr 23, 2021
1 parent 2e9faab commit 0ec95a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -106,7 +106,7 @@ public function deletingPageWithFilterAppliedRespectsFilterUponPageTreeReload(Ba
$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');
Expand Down

0 comments on commit 0ec95a1

Please sign in to comment.