lundi 3 février 2020

Writing into date fields with Cypress

I am writing e2e tests for web application with Cypress. I have a problem with writing values in the date fields. Date fields were created using DevExtreme. Exactly, I must use indexes to access these fields. I am trying to avoid this. Because, if developer adds new date field, the indexes will be changed. I tried to use name property, but input is shown as hidden and my test always fails.

I was exploring about this problem and found out that it can be solved with DxClick trigger. I couldn't find any examples how to do this with Cypress.

Does anyone have any examples of using this trigger with Cypress?

Regards, Edin

Aucun commentaire:

Enregistrer un commentaire