There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-377e6579-98d4-4025-993b-1496aeff28ad XWIKI-21921 Open

TourApplicationIT.verifyTourFeatures is flickering

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-5b5a8603-9de2-41aa-bf1d-41257ae9083b Vincent Massol on 19/Oct/26 15:48
 

Fix proposed in PR #6991.

Root cause: TourHomePage.startTour() created the PageWithTour right after clicking the launch link, while the browser was still navigating (the link opens the target page with startTour=true, then the tour's JavaScript redirects to the same page without that parameter). The page-ready wait of the PageWithTour constructor could thus address the html element of a document being replaced, which Chrome reports as Node with given id does not belong to the document. The fix waits, using only the WebDriver current URL, until the final tour page is reached. Confirmed locally on Chrome with a forced experiment: the unchanged code fails with the CI exception, the fixed code passed 164 forced launches.