bitovi / funcunit

A functional test suite based on jQuery
https://funcunit.com/
MIT License
569 stars 378 forks source link

[ctrl/alt/cmd/shift]-click support #186

Closed jeroencornelissen closed 7 years ago

jeroencornelissen commented 7 years ago

We would like to have special-key click support to test a multi-select table. I've tried setting syn's ctrlKey to true and then perform a click, but it doesn't work.

syn.key.ctrlKey = true;
F('.table__row:even').click();
matthewp commented 7 years ago

Can you do something like this? https://github.com/bitovi/syn/blob/master/test/key_test.js#L423

kdillon commented 7 years ago

There was a bug in ctrl. It should be fixed in the latest version of Syn