You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a while and a few weeks ago I did make some progress in getting a test setup which works via appium running on SauceLabs.
Having tests seems to be even more important since latest Android and iOS seem to enable native drag and drop. I want to get some baseline tests to detect wether they really are capable of doing it natively and then the same test with polyfill activated to detect any differences.
Doing all the tests manually on all the combinations of platform, browser and version is no fun at all and as new browser versions were released there were breaking changes which could've been detected earlier.
The bad news is that older browser versions of Android and iOS are not compatible when inducing touch interactions to the way it is done with the latest browsers. So it's going to be rather time consuming to implement touch actions differently according to OS and browser version. I had hoped WebdriverIO would smooth this over but it isn't.
Another issue is that touch events are only possible in native context. That means coordinates are not relative to the webview but to the browser app. Again each device/platform/browser has different UI/address bar height which results in different offsets to actually land the touch on the element in the webview. To workaround this I'm planning to introduce a special e2e test page where the elements are big enough. This way there will be no need to hardcode a special offset to account for the browsers address bar in each different environment.
If anybody wants to contribute, feel free to check out the branch mentioned in the previous post.
Would be really awesome to have some webdriver tests
and some CI support so PR's can be checked automatically and be merged with confidence.
I'm proposing to use
Anyone having experience configuring those?
The text was updated successfully, but these errors were encountered: