cuddly-thailand-33926
02/07/2023, 1:32 PMgray-kilobyte-89541
02/07/2023, 3:10 PMcuddly-thailand-33926
02/07/2023, 3:16 PMagreeable-painting-90494
02/07/2023, 5:16 PMthousands-house-85089
02/07/2023, 8:16 PMadorable-stone-42197
02/08/2023, 9:41 AMcy.state('withinSubject')
has been deprecated and will be removed in a future release. You should read cy.state('withinSubjectChain')
once at the top of your command / query, and resolve it into a value with cy.getSubjectFromChain(withinSubjectChain)
as needed. Can someone help about this? I donβt even see cy.stateprehistoric-laptop-18732
02/08/2023, 6:06 PMbest-flower-17510
02/08/2023, 6:58 PMprehistoric-laptop-18732
02/08/2023, 6:58 PMsquare-cat-92310
02/08/2023, 8:21 PMgray-kilobyte-89541
02/08/2023, 9:07 PMsquare-cat-92310
02/09/2023, 5:49 AMgreen-controller-97889
02/09/2023, 11:25 AMintercept
before visit
?
js
cy.intercept("GET", `/api/get-my-data/`).as(
"getMyData"
);
cy.visit("/view-data);
gray-kilobyte-89541
02/09/2023, 11:49 AMproud-tomato-54212
02/09/2023, 1:09 PMgray-kilobyte-89541
02/09/2023, 1:21 PMthousands-house-85089
02/09/2023, 3:49 PMthousands-house-85089
02/09/2023, 3:50 PMicy-tent-5194
02/09/2023, 8:08 PMcolossal-table-38461
02/10/2023, 4:42 AMicy-tent-5194
02/10/2023, 6:04 AMicy-tent-5194
02/10/2023, 6:05 AMicy-tent-5194
02/10/2023, 6:16 AMcrooked-megabyte-18846
02/10/2023, 9:52 AMincalculable-rainbow-43330
02/10/2023, 11:43 AMnarrow-cpu-2218
02/10/2023, 12:06 PMthousands-house-85089
02/10/2023, 3:22 PMjs
// wait for SPA to load - when loading spinner disappears
cy.get('.loading')
.should('not.exist')
Then after this you can do your login testicy-tent-5194
02/10/2023, 3:53 PMthousands-house-85089
02/10/2023, 5:44 PMicy-tent-5194
02/10/2023, 5:49 PM