acceptable-solstice-90676
04/09/2022, 8:28 PMicy-morning-65202
04/11/2022, 12:58 AMdazzling-angle-28206
04/11/2022, 2:08 AMicy-morning-65202
04/11/2022, 2:41 AMadamant-magazine-53646
04/11/2022, 4:28 AMcreamy-train-56346
04/11/2022, 9:33 AMdazzling-angle-28206
04/11/2022, 10:47 AMicy-morning-65202
04/11/2022, 12:47 PMacceptable-solstice-90676
04/11/2022, 1:46 PMacceptable-solstice-90676
04/11/2022, 1:59 PMmagnificent-finland-58048
04/11/2022, 2:23 PMmagnificent-finland-58048
04/11/2022, 2:32 PMmagnificent-finland-58048
04/11/2022, 2:35 PMmagnificent-finland-58048
04/11/2022, 2:37 PMgray-kilobyte-89541
04/11/2022, 3:07 PMmagnificent-finland-58048
04/11/2022, 3:10 PMacceptable-solstice-90676
04/11/2022, 3:54 PMacceptable-solstice-90676
04/11/2022, 3:55 PMfull-river-47441
04/12/2022, 8:35 AMfresh-doctor-14925
04/12/2022, 2:34 PMintercept()
.
I recently shaved 10 seconds off a spec using this approach (16s down to 6)full-river-47441
04/12/2022, 2:35 PMfresh-doctor-14925
04/12/2022, 2:36 PMfull-river-47441
04/12/2022, 2:38 PMfresh-doctor-14925
04/12/2022, 2:40 PMfull-river-47441
04/12/2022, 2:41 PMgentle-yacht-11391
04/13/2022, 2:50 PMimportant-machine-21458
04/14/2022, 11:31 AMimportant-machine-21458
04/14/2022, 11:34 AMglamorous-architect-52545
04/14/2022, 11:55 AMelegant-apartment-47735
04/14/2022, 8:28 PMconfirm
dialog initiated from within an iframe. cy.on("window:confirm", ...
doesn't catch the call because of the iframe - and also Cypress doesn't autoconfirm. I'm using the getIframeBody
approach from https://www.cypress.io/blog/2020/02/12/working-with-iframes-in-cypress/ to deal with elements in the iframe, but I'm not sure how to tell cy.on
to catch javascript happening in the iframe's context. Any suggestions?