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

    bulky-table-27118

    01/26/2022, 11:42 PM
    it quits before my api call is finished
  • d

    dazzling-angle-28206

    01/26/2022, 11:59 PM
    https://docs.cypress.io/api/commands/wait#Alias
  • b

    bulky-table-27118

    01/27/2022, 12:01 AM
    this call is made by the application after a submit of a form, I'm not actually visiting it
  • d

    dazzling-angle-28206

    01/27/2022, 12:02 AM
    Just replace the cy.visit with whatever action triggers your api call
  • l

    loud-honey-66910

    01/27/2022, 12:02 AM
    Good Morning! I have been battling this issue with cypress-cucumber-preprocessor https://github.com/cypress-io/cypress/issues/19927 Any help will be much appreciated 🙏
  • l

    loud-honey-66910

    01/27/2022, 12:04 AM
    Tried this but not luck yet
  • l

    loud-honey-66910

    01/27/2022, 12:18 AM
    after trying this I get now this error :or goes back to the original one about the import and export syntax issue https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/issues/537
  • l

    loud-honey-66910

    01/27/2022, 12:19 AM
    please help ❤️
  • b

    bulky-table-27118

    01/28/2022, 11:34 AM
    Good morning. when we save the file we are testing, the cypress executes the tests, so far so good. But it runs very fast there in cypress controlled browser. Is there any way to control this execution speed?
  • d

    dazzling-angle-28206

    01/28/2022, 11:55 AM
    Why would you want to slow down your tests?
  • d

    dazzling-angle-28206

    01/28/2022, 11:56 AM
    Integration tests are pretty slow to begin with and so some people prefer unit tests 🙄
  • b

    bulky-table-27118

    01/28/2022, 11:58 AM
    In fact it would be more for presentation of the test to a po for example. When the videos are generated, everything is fast, for someone who doesn't understand very quickly that it's a lot of fact, it gets more complicated to follow
  • d

    dazzling-angle-28206

    01/28/2022, 12:55 PM
    Ah ok, if it's for a presentation you may use cy.wait() to time things in your presentation ;-)
  • b

    bulky-table-27118

    01/28/2022, 12:56 PM
    I understand, thanks for the clarification😉
  • w

    wonderful-match-15836

    01/28/2022, 5:04 PM
    Something I've used a lot for this purpose is cy.pause() at states I want to showcase. I used to run demos like this for my last company, it's really slick and you have control of the pacing with the "play" button to resume. It was especially useful to show error states created with
    cy.intercept
    or other things that were hard to get at in the live app. I could say "Now let's pretend the server is down and the user tries the same action" - press play, Cypress clicks around and pauses on error state - "We'd get this helpful message and a retry button". And we could get feedback for as long as needed, then move on to the next thing.
  • b

    bulky-table-27118

    01/28/2022, 5:17 PM
    Very interesting I think this is what I'm looking for, but I still have no idea how to apply it, I'll investigate
  • a

    ancient-jewelry-12402

    01/29/2022, 2:52 PM
    Hey! Tell me, can I somehow check the response in JSON format? If yes, then tell me how to build a test (
  • a

    ancient-jewelry-12402

    01/29/2022, 2:53 PM
    Sorry for such a simple question, but perhaps your answer will help me deal with this problem faster.
  • b

    bulky-sundown-74498

    01/29/2022, 3:01 PM
    Can you use cy.intercept instead?
  • a

    ancient-jewelry-12402

    01/29/2022, 3:04 PM
    I will try, thanks!
  • g

    gray-kilobyte-89541

    01/30/2022, 4:39 PM
    https://glebbahmutov.com/blog/network-requests-with-cypress/
  • a

    ancient-jewelry-12402

    01/30/2022, 7:25 PM
    Спасибо, Глеб. Сейчас постараюсь разобраться. Надеюсь, что наконец-то получится сравнивать весь ответ 😄
  • l

    loud-honey-66910

    01/31/2022, 12:58 AM
    How do I stop my console from being cleared
  • f

    fancy-match-96032

    01/31/2022, 1:40 PM
    @User have you tried turning on chrome's "Preserve log" flag? it's on the top right of the debugger under settings (gear icon):
  • p

    powerful-orange-86819

    01/31/2022, 2:53 PM
    ajv schema validator, i just coded it in in my tests. Runnign commands and then expect the body to fit schema, idk if this answers your question
  • s

    sticky-state-78540

    01/31/2022, 6:18 PM
    Hi, I have my cypress framework, but for videocall testing purposes I need 2 browsers and embeded webdriverio , when I run cypress.open the test works perfectly, but if I do cypress.run, the browser is open with the correct url but nothing happens
  • s

    sticky-state-78540

    01/31/2022, 6:18 PM
    and in the run mode I can't see the logs
  • s

    sticky-state-78540

    01/31/2022, 6:19 PM
    would really appreciate any pointers
  • i

    icy-airplane-66230

    02/01/2022, 9:00 AM
    Single page application (SPA) testing
    w
    f
    • 3
    • 7
  • u

    user

    02/04/2022, 11:39 PM
    hey all, we're using 9.1.1 but I'm seeing 9.4.1 in the logs - not sure where it's coming from. I would greatly appreciate any pointers to make this one work 👍 https://github.com/opyate/cypress-weirdness
1...303132...192Latest