Skip to content

Commit

Permalink
[TASK] Stabilize ac test Frontend\IndexedSearchCest
Browse files Browse the repository at this point in the history
Fails locally occasionally. The additional explicit
waitForElement() before clicking the elemnt
stabilized it.

Resolves: #101491
Releases: main, 12.4, 11.5
Change-Id: I4072daa0e949d3480f399e99a2f35d8ef889eded
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80251
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
lolli42 committed Jul 30, 2023
1 parent e084598 commit 6e99b18
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -37,6 +37,7 @@ public function _before(ApplicationTester $I, PageTree $pageTree): void
$I->waitForElement('#typo3-pagetree-tree .nodes .node', 5);
$pageTree->openPath(['styleguide frontend demo']);
$I->switchToContentFrame();
$I->waitForElementVisible('.t3js-module-docheader-bar a[title="View webpage"]');
$I->click('.t3js-module-docheader-bar a[title="View webpage"]');
$I->executeInSelenium(static function (RemoteWebDriver $webdriver) {
$handles = $webdriver->getWindowHandles();
Expand Down

0 comments on commit 6e99b18

Please sign in to comment.