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
I think that for the majority of use cases (if not for all of them, maybe except tabbing) it makes sense to focus the AUT - without that some commands might not work properly.
I'm implementing global keyboard commands in our app so I want to use smth like to prepare the app for the assertion:
cy.realPress(['Shift','1']);
However, this won't work because the AUT is not focused so my keyboard listener that lives in it has no chance of receiving this input.
but it feels that it could work "out of the box". I'm not entirely sure what exact command would be best to shift focus properly to the AUT before performing an action since a real click is not good in the sense that it could invoke some other, unrelated, stuff in the AUT.
The text was updated successfully, but these errors were encountered:
I think that for the majority of use cases (if not for all of them, maybe except tabbing) it makes sense to focus the AUT - without that some commands might not work properly.
I'm implementing global keyboard commands in our app so I want to use smth like to prepare the app for the assertion:
However, this won't work because the AUT is not focused so my keyboard listener that lives in it has no chance of receiving this input.
I've tried this:
but it doesn't work even though after this we get:
I've worked around my issue with:
but it feels that it could work "out of the box". I'm not entirely sure what exact command would be best to shift focus properly to the AUT before performing an action since a real click is not good in the sense that it could invoke some other, unrelated, stuff in the AUT.
The text was updated successfully, but these errors were encountered: