https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • m

    miniature-dog-14302

    02/23/2022, 12:49 PM
    Thanks Both.. I am checking
  • m

    miniature-dog-14302

    02/23/2022, 12:56 PM
    @User @User Thanks .. seems to be working fine.. One more thing , my app page is not loading when it runs through browser controlled by cypress. but it works If I open manually in any browser.. any idea why
  • g

    glamorous-architect-52545

    02/23/2022, 1:01 PM
    i think that u'll need use the
    cy.intercept
    , search for this
  • m

    miniature-dog-14302

    02/23/2022, 1:10 PM
    @User do i need to use cy.intercept instead cy.visit?
  • g

    glamorous-architect-52545

    02/23/2022, 1:16 PM
    no bro, u'll use intercept for intercepting a route/requisition
  • g

    glamorous-architect-52545

    02/23/2022, 1:17 PM
    https://docs.cypress.io/api/commands/intercept
  • m

    miniature-dog-14302

    02/23/2022, 1:23 PM
    @User thanks bro.. cy.visit atleast should open the page .. isnt it??
  • g

    glamorous-architect-52545

    02/23/2022, 1:26 PM
    yes bro, but u'll need to analyze, if u have a route/request that u need intercept
  • m

    miniature-dog-14302

    02/23/2022, 1:36 PM
    @User thanks .. I have added chromeWebsecurity as false so, just removed it. it loads the page..
  • g

    glamorous-architect-52545

    02/23/2022, 2:14 PM
    hey guys, i still can't solve this issue ... anyone could help-me?
  • g

    glamorous-architect-52545

    02/23/2022, 2:14 PM
    i try use intercept, but did not work
  • g

    glamorous-architect-52545

    02/23/2022, 2:15 PM
    my test run with 'ok', but i can't see the form in the preview image
  • m

    miniature-dog-14302

    02/23/2022, 2:47 PM
    @User @User , I have used the baseUrl and again it is timing out. its intermittent issue.. sometimes works sometimes doesnt
  • g

    glamorous-architect-52545

    02/23/2022, 3:01 PM
    u are using intercept?
  • g

    gray-kilobyte-89541

    02/23/2022, 5:05 PM
    seems like your server is unreliable
  • l

    loud-honey-66910

    02/24/2022, 12:51 PM
    Looks like Cypress is not expecting the response behavior of the web channel when using Firebase and Cypress
  • l

    loud-honey-66910

    02/24/2022, 12:52 PM
    this is the issue about Bad XHR performance with Google Cloud Firestore.
  • l

    loud-honey-66910

    02/24/2022, 12:52 PM
    https://github.com/cypress-io/cypress/issues/2374
  • l

    loud-honey-66910

    02/24/2022, 12:55 PM
    is there any help around this ? I cannot use { experimentalForceLongPolling: true }) to fix it
  • l

    loud-honey-66910

    02/24/2022, 12:55 PM
    since it slow down the rendering of the app
  • l

    loud-honey-66910

    02/24/2022, 1:06 PM
    I think that SSE don't work and seem to be buffered by the Cypress proxy.
  • l

    loud-honey-66910

    02/24/2022, 1:06 PM
    any help on this would be much appreciated @User
  • l

    loud-honey-66910

    02/24/2022, 1:09 PM
    in a nutshell when making requests to Firestore outside of Cypress, XHR responses take less that a couple seconds (at most). When making requests to Firestore inside of Cypress, XHR responses take more than 60 seconds.
  • l

    loud-honey-66910

    02/24/2022, 1:10 PM
    too many request just for a simple element verification with firebase
  • l

    loud-honey-66910

    02/24/2022, 1:13 PM
    I can see the XHR requests being made, I can even see the application updating with the right data (that was obviously returned from Firestore), but the requests stay pending in Cypress. Visiting the same url in my browser (also Chrome), I can see the XHR requests and the responses.
  • g

    gray-kilobyte-89541

    02/24/2022, 1:43 PM
    I don't use Firebase myself, so cannot help in this
  • l

    loud-honey-66910

    02/24/2022, 1:44 PM
    😦
  • a

    adamant-magazine-53646

    02/25/2022, 3:09 AM
    @gray-kilobyte-89541 I am unable to include a summary of the report generated using cypress-mochawesome-reporter in Jenkins..
  • g

    gray-kilobyte-89541

    02/25/2022, 2:58 PM
    I would open an issue with details in the cypress-mochawesome-reporter repo
  • l

    loud-honey-66910

    02/27/2022, 10:36 AM
    Hi
1...323334...192Latest