rough-oxygen-26641
12/13/2022, 9:19 AMfresh-doctor-14925
12/13/2022, 9:23 AMrough-oxygen-26641
12/13/2022, 9:25 AMincalculable-rainbow-43330
12/13/2022, 1:29 PMlate-planet-4481
12/13/2022, 4:27 PMlate-planet-4481
12/13/2022, 4:44 PMcy.visit()
in between, the Yield disappears completely.late-planet-4481
12/13/2022, 7:29 PMincalculable-rainbow-43330
12/14/2022, 6:56 AMfresh-doctor-14925
12/14/2022, 7:20 AMastonishing-lunch-98474
12/14/2022, 9:24 AMastonishing-lunch-98474
12/14/2022, 9:24 AMastonishing-lunch-98474
12/14/2022, 9:25 AMgray-kilobyte-89541
12/14/2022, 11:34 AMthousands-house-85089
12/14/2022, 1:34 PMit.only
when pinpoint working on fixing specific tests. I don't find any issue with doing it this way personally.late-planet-4481
12/14/2022, 4:54 PMthousands-house-85089
12/14/2022, 4:55 PMglamorous-oxygen-73293
12/14/2022, 6:40 PMgreen-winter-59584
12/14/2022, 7:14 PMcold-sugar-17816
12/14/2022, 7:22 PMcy.get('table tr')
.eq(2)
.find('a')
.should(/* assert its href */)
If the last assertion fails, will it retry the full chain from the top?
Now, make it a bit more complicated. Add another assertion in the middle:
cy.get('table tr')
.should("have.length.gt.5") // <---- intermediate assertion
.eq(2)
.find('a')
.should(/* assert its href */)
If the final assertion fails, what will be retried? The whole chain, including the intermediate assertion? Or just the the .eq(2).find('a')
part?
Thanks!gray-kilobyte-89541
12/14/2022, 7:36 PMcold-sugar-17816
12/14/2022, 7:43 PMgray-kilobyte-89541
12/14/2022, 8:37 PMcold-sugar-17816
12/14/2022, 8:47 PMcy.get('tr').find('a')
will retry the whole chain until a
is found?gray-kilobyte-89541
12/14/2022, 10:06 PMcold-sugar-17816
12/14/2022, 10:07 PMglamorous-oxygen-73293
12/14/2022, 10:44 PMgray-kilobyte-89541
12/15/2022, 3:27 AMwide-butcher-68422
12/15/2022, 5:00 AMadventurous-eve-81295
12/15/2022, 8:46 AMadventurous-eve-81295
12/15/2022, 8:51 AM