This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-aae3b119-7102-419b-b543-27bf1d6abdfe XWIKI-22282 Open

Use Selenium with BiDi for integration tests

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ec381b3c-dcc1-4613-bef4-7244091d412a Simon Urli created this issue on 20/Jun/24 10:57
 
Summary: Use Selenium with BiDi for integration tests
Issue Type: cid:jira-generated-image-avatar-aae3b119-7102-419b-b543-27bf1d6abdfe Improvement
Affects Versions: 15.10.10
Assignee: Unassigned
Components: Test Framework
Created: 20/Jun/24 10:57
Priority: cid:jira-generated-image-static-major-87307317-33fb-4c22-af6c-b30d09d81987 Major
Reporter: Simon Urli
Description:

Selenium is moving towards using BiDi specification for interacting with browsers. We're starting to be impacted by that: recently geckodriver decided to follow the specifications regarding the onbeforeunload which led to us for loosing the capability to interact with the confirmation dialog that should be displayed when leaving an edition form without saving.
This impacts the integration tests and so we need to move to BiDi to be able to support this.

Note that apparently BiDi will be only supported in Firefox 129 which should be released in August 2024.

Original bug report on geckodriver: https://github.com/mozilla/geckodriver/issues/2182#issuecomment-2180048632
Possible resources: