cypress-plugin-tab
cypress-plugin-tab copied to clipboard
Update plugin to be compatible with Cypress 10
Hello 👋 I'm writing on behalf of the Cypress DX team. We wanted to notify you that some changes may need to be made to this plugin to ensure that it works in Cypress 10.
For more information, here is our official plugin update guide.
want to mention that since updating cypress to v10.3.0, i'm getting TS2339: Property 'tab' does not exist on type 'Chainable<JQuery<HTMLElement>>'.
errors. likely related to this. thanks for your work on this plugin!!
@kuceb No updates since May on this issue? Is this project considered dead?
Making all these plugins and then failing to do basic maintenance leaves a bad taste.
I've had to use a fork of every plugin so far as no one is maintaining things or merging PRs.
The latest merged PR should fix the TS error (or at least make it possible to include the types in TSConfig). @kuceb Please, could you make a new release?
First of all, I would like to thank you for all the time and hard work you put into this plugin.
I am upgrading from cypress 9 to cypress 12 and currently facing the same problem, cypress-plugin-tab is not working after upgrade.
We also considered cypress-real-event
, but compared to cypress-plugin-tab, it cannot provide the test function of key combination, for example, I press tab + shift at the same time.
Wondering if the author still plans to maintain and update the plugin in the future?
Since this isn't maintained, and if you need it, just copy src/index.js
to the support folder and import it within the commands.js
file:
import './tab';
Next change the line that is breaking the plugin to this:
if (newElm && newElm.select) {
Once done, the plugin seems to be working for me.