(webdriverio): polish intercepted errors#12533
(webdriverio): polish intercepted errors#12533erwinheitzman merged 6 commits intowebdriverio:mainfrom erwinheitzman:polish/polish-intercepted-errors
Conversation
christian-bromann
left a comment
There was a problem hiding this comment.
Love this!
As @wswebcreation mentioned in the other PR, would be great to have a test for this. I recommend using one of the browser tests in /e2e/browser for this as you can just generate a random HTML structure to run tests on. Happy to help!
|
|
||
| return result | ||
| } catch (err: any) { | ||
| if (err.name === 'element not interactable') { |
There was a problem hiding this comment.
I believe in Safari the error name is different which is why the CI test is failing, mind giving it a try with Safari?
There was a problem hiding this comment.
I took the stacktrace from another error which had the session info. Since I added the tests without having the fix from the other PR in this I made a guess and seems like this doesn't have the session info when running Safari so I it is easily solved 👍
Will fix it and when green merge it
christian-bromann
left a comment
There was a problem hiding this comment.
One comment on the CI failure.
Proposed changes
Resolves #8507
Types of changes
Checklist
Backport Request
v9and doesn't need to be back-portedReviewers: @webdriverio/project-committers