Skip to content

Commit

Permalink
Merge pull request #25 from sandstorm/24-bug-i-click-the-document-tre…
Browse files Browse the repository at this point in the history
…e-entry-documenttitle-not-working-with-neos-83

BUGFIX: iClickTheDocumentTreeEntry for Neos 8.3
  • Loading branch information
Pingu501 authored Aug 23, 2023
2 parents 7794912 + 62d0cf1 commit fc68900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Behavior/Bootstrap/NeosBackendControlTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function iClickTheDocumentTreeEntry($documentTitle)
$this->playwrightConnector->execute($this->playwrightContext, sprintf(
// language=JavaScript
'
await vars.page.click(`body div[class^=style__leftSideBar__top___] div[role=button]:has(span:has-text("%s"))`);
await vars.page.locator("body div[class*=leftSideBar__top]").getByRole("button", {name: "%s"}).click();
await vars.page.waitForSelector(`div#neos-Inspector`);
vars.neosContentFrame = await vars.page.frame(`neos-content-main`);
'// language=PHP
Expand Down

0 comments on commit fc68900

Please sign in to comment.