Thanks for the report, I'll check tomorrow, probably something has changed in recent Ext version regarding touch events conversion.
Re: How can one use touch events?
Posted: Tue Sep 10, 2019 2:09 pm
by nickolay
Try adding `t.simulator.forceTouchEvents = false` at the top of the test file? Its hard to say why currently, but this flag is enabled for Chrome only and it forces Siesta to use the real "touch" events, which are actually superseded by the "pointer" events. Perhaps that was a specific requirement for some of the older Ext versions.
The code below works for me (need to add a pause between the double tap and longress, otherwise longpress is not recognized).
Hi, I am using var harness = new Siesta.Harness.Browser.SenchaTouch();
i am not able to do tap events since upgrading to to latest siesta from 4.2.1
i am doing something like:
t.chain(
{
action: 'tap',
target: component
});
it fails in siesta-no-ext-all.js
on line 36841: deferer : this.test.originalSetTimeout,
this.test does not exist there is a this.browser.test or a this.bowser.test
can you please fix this thanks.
Re: How can one use touch events?
Posted: Wed Sep 18, 2019 9:14 am
by nickolay
Hi
Our tests for sencha touch are green, can you provide more information how to reproduce this issue?
Also, do you test Sencha Touch application or just needs touch events? The latter are now simulated in regular "Browser" project by default (so called "pointer events")
Re: How can one use touch events?
Posted: Thu Sep 19, 2019 3:29 am
by Enzoo
We are testing a sencha touch application, to reproduce run the tap event on a sencha touch button using the pageUrl option in chrome browser v77.
Re: How can one use touch events?
Posted: Thu Sep 19, 2019 8:49 am
by klodoma
nickolay wrote: ↑Tue Sep 10, 2019 2:09 pm
Try adding `t.simulator.forceTouchEvents = false` at the top of the test file?
I'm replying late. Yes, this seems to solve the problem at least for the provided example.
I'll try to add it to the other cases and I'll provide feedback.