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'm wondering why your code gets the jquery element $articlePreview only to wrap it 3 lines after. Wouldn't it be possible to avoid this round trip? In other words, I would expect to write something like this instead:
In this version, the first argument to the each() callback is a Cypress object which understands within() as opposed to a jquery element that you have to wrap to get to call within().
The text was updated successfully, but these errors were encountered:
Hi,
first I would like to thank you for the great webinar. I learned quite a bunch of stuff.
I see this code in your project:
I'm wondering why your code gets the jquery element
$articlePreview
only to wrap it 3 lines after. Wouldn't it be possible to avoid this round trip? In other words, I would expect to write something like this instead:In this version, the first argument to the
each()
callback is a Cypress object which understandswithin()
as opposed to a jquery element that you have to wrap to get to callwithin()
.The text was updated successfully, but these errors were encountered: