Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test runner interferes with tabbing #43

Closed
AsimAM opened this issue Apr 8, 2021 · 3 comments
Closed

Test runner interferes with tabbing #43

AsimAM opened this issue Apr 8, 2021 · 3 comments

Comments

@AsimAM
Copy link

AsimAM commented Apr 8, 2021

When starting a test with cy.realPress('Tab'); it tabs through the cypress window before tabbing through the webpage.

Tried with:
Chrome 89
Node 12.20.1
cypress 6.8.0
cypress-real-events 1.3.0
yarn

@dmtrKovalenko
Copy link
Owner

You need to firstly focus internal window. Basically

cy.window().focus()

We actually need to think about doing this automatically but need to make sure that it won't affect users test scenario

@AsimAM AsimAM closed this as completed Apr 8, 2021
@AsimAM AsimAM reopened this Apr 8, 2021
@AsimAM
Copy link
Author

AsimAM commented Apr 8, 2021

Yeah it would be great if you could look into it being done automatically. Let me know if you require assistance.

@dmtrKovalenko
Copy link
Owner

duplicate of #196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants