This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-47e19bbe-6f01-4a98-86cd-b0c9c1f5fe3c XWIKI-24129 Open

Integration test should fail in case of javascript errors

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-23b4753c-9f31-4232-a699-ea58c1d5c0df Simon Urli created this issue on 17/Mar/26 16:32
 
Summary: Integration test should fail in case of javascript errors
Issue Type: cid:jira-generated-image-avatar-47e19bbe-6f01-4a98-86cd-b0c9c1f5fe3c Improvement
Affects Versions: 17.10.4
Assignee: Unassigned
Components: Test Framework
Created: 17/Mar/26 16:32
Priority: cid:jira-generated-image-static-major-c58bb1d6-0012-4bdc-886f-0016d6fea878 Major
Reporter: Simon Urli
Description:

Our integration tests should systematically fail whenever a javascript error appear. We should probably reuse the validator we have to handle errors and allow excluding some of them. But we probably need to use the Selenium Script#addJavaScriptErrorHandler for that.