-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Bug] - shadowClick is not working for me #35
Comments
This is something that I've run into as well. I was waiting until someone else had the same issue before submitting a PR. Would you mind adding this code to your "cypress/support/commands.js" file and see if it solves your problem: Cypress.Commands.overwrite('shadowClick', (originalFn, subject, options) => {
Cypress.log({
name: 'shadowClick',
});
subject.click();
}); |
Hi, I did what you told me by putting the code like that But, the result is the same.. =( I do not know what else to do? I'm suddenly doing something wrong? |
Can you validate that the code I gave you is working? Can you put a |
This is what fixed it for me. Thank you so much @DesignByOnyx |
@York6666 I met the same issue as you, do you find any way to work later? |
@DesignByOnyx my version as below |
First sorry for my bad englis, I am automating a web page but I have some problems with shadow root, so let's see them
Current behavior:
This is input user

This is input pass

and finally the button

Desired behavior:
Steps to reproduce: (app code and test code)
import 'cypress-shadow-dom';
///
describe('Mi Primera Prueba', function () {
})
but this is the result, I don't know why he doesn't click on the button

P lease tell me what I'm doing wrong =( !!! Thank u very much
Versions
Cypress verson: 3.8.1
cypress-shadow-dom: 1.3.0
The text was updated successfully, but these errors were encountered: