https://cypress.io logo
I have the following: ``` cy.intercept("GET", "...
# e2e-testing
f
I have the following:
Copy code
cy.intercept("GET", "*/customers/me").as("customerInfo");
      cy.request({
        method: "GET",
        url: "https://my.api.site/customers/me",
      }).then((response) => {
        console.log(response.body);
      });
      cy.get("@customerInfo")
        .its("response.body")
        .invoke("attr", "customerId")
        .then(($customerID) => {
          console.log($customerID);
        });
And I'm definitely seeing the info I need, it's structured like this: