There are 2 updates, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-38b50833-b46d-4bb9-ac2c-7eee062d8405 XWIKI-25147 Reopened

Add automated test for "Homepage Tour"

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-49f1cbc0-9160-42d9-b240-cad6eadb2cf8 Changes by Vincent Massol on 12/Oct/26 09:07
 
Resolution: Fixed
Status: Closed Reopened
 
 

2 comments

 
cid:jira-generated-image-avatar-49f1cbc0-9160-42d9-b240-cad6eadb2cf8 Vincent Massol on 12/Oct/26 09:07
 

Reopening: with the previous fix, HomepageTourIT still failed on master in Environment Tests run 1401, on the 2 Chrome environments (the Firefox ones and all the 18.4.x/17.10.x runs passed):

  • PostgreSQL: timeout in PageWithTour.previousStep() on the "Header" step.
  • MySQL: timeout in PageWithTour.nextStep() on the "Header" step.

The CI videos show that the "Header" step popover becomes visible while the page is still scrolling and keeps moving for a moment. The test clicks "Prev"/"Next" right after reading the step title, so the click can land on the tour backdrop instead of the button and the tour stays on the same step.

Fix: the PageWithTour page object now waits for the step popover to be fully shown and to stop moving before clicking its buttons.

 
cid:jira-generated-image-avatar-49f1cbc0-9160-42d9-b240-cad6eadb2cf8 Vincent Massol on 12/Oct/26 09:12
 

Fix PRs: https://github.com/xwiki/xwiki-platform/pull/6763 (master), https://github.com/xwiki/xwiki-platform/pull/6764 (stable-18.4.x), https://github.com/xwiki/xwiki-platform/pull/6765 (stable-17.10.x).