freezing-scientist-25758
02/02/2023, 7:36 PMcy.get('[data-cy="my_account_add_fav"]')
.trigger('mouseover').click();
cy.wait(500);
I have tried .click() and .click({force: true}) and trigger('click') as well as the above.
I have no idea why nothing is working.
The error is coming up because the click doesn't actually click. If it does click a pop up box comes up which includes 2 buyNow buttons.
Which is what it would get and click on if the original .click() worked.
So, it appears like it works in the test body and in the console when I check it BUT it doesn't bring up the pop up in the window to the right. It is very strange.wonderful-match-15836
02/02/2023, 8:09 PM[data-cy="my_account_add_fav"] element you are selecting. Definitely looks like Cy is clicking something. The trigger mouseover shouldn't be needed, and if forcing it didn't work, definitely my first guess is that somehow this element we're clicking isn't responsible for opening the popup.freezing-scientist-25758
02/02/2023, 8:10 PMdata-cy is for the button.dazzling-thailand-9844
02/06/2023, 6:25 AMfreezing-scientist-25758
02/06/2023, 2:10 PM