https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • e

    enough-truck-68085

    03/08/2023, 6:00 PM
    I'd dive into the plugin documentation some more to ensure your team is using the plugin correctly. You can also get into the same state by modifying
    cy.request
    to display the same api view if you have
    requestMode: true
    enabled. https://github.com/filiphric/cypress-plugin-api#requestmode---enable-ui-for-cyrequest-command
  • h

    handsome-autumn-4077

    03/08/2023, 6:01 PM
    Thanks for sharing, will do @enough-truck-68085
  • d

    dazzling-thailand-9844

    03/08/2023, 7:11 PM
    Hi, sometimes in cases when you combine your API calls with UI tests it can be also useful adding
    snapshotOnly: true
    to your cypress.config file.
  • h

    handsome-autumn-4077

    03/08/2023, 7:28 PM
    Thanks @dazzling-thailand-9844 !
  • s

    silly-hairdresser-33662

    03/08/2023, 8:21 PM
    Hi folks, I am wondering what kinds of solutions are used for SMS testing with Cypress? Our app has a lot of communication through Cypress both sending and receiving, and right now we're using Ring Central but looking to move away from it.
  • c

    colossal-table-38461

    03/09/2023, 5:35 AM
    Check with Mailosaur once
  • a

    acceptable-family-97943

    03/09/2023, 10:30 AM
    Does anyone know why it says
    Request went to origin: yes
    , despite this call being stubbed?
  • a

    acceptable-family-97943

    03/09/2023, 11:26 AM
    Is is possible that when a request is cancelled, the stub for this request becomes void and this results in the request being allowed through to origin?
  • g

    gray-kilobyte-89541

    03/09/2023, 11:32 AM
    i don't think it went to the origin judging by the empty circle
  • a

    acceptable-family-97943

    03/09/2023, 11:34 AM
    Indeed, Cypress marks it as stubbed, judging by the alias and the fact that it has that empty circle. However, logging the info by clicking on it does mention it went to origin. All we know is that it's stubbed and it got cancelled due to the app redirecting - it confused us for a bit
  • g

    gray-kilobyte-89541

    03/09/2023, 11:35 AM
    well, if you can open an issue on github with a reproducible example, cypress team could resolve it. Do you really see THIS particular request on the server?
  • a

    acceptable-family-97943

    03/09/2023, 11:44 AM
    I'll see if I can make a reproducible example. As for seeing it on the server, if I intercept the response with
    req.continue(res => console.log(res))
    , it does give a response from the server. Haven't looked at any logging on the server (yet)
  • g

    gray-kilobyte-89541

    03/09/2023, 11:51 AM
    req.continue(console.log)
    does not stub the request BTW (for more see my paid course https://cypress.tips/courses/network-testing)
  • d

    damp-kangaroo-1521

    03/09/2023, 1:34 PM
    Hi, "if plugin" works with cypress 12.6+?
  • g

    gray-kilobyte-89541

    03/09/2023, 1:44 PM
    Nope
  • d

    damp-kangaroo-1521

    03/09/2023, 1:45 PM
    😦 thanks
  • q

    quaint-battery-7856

    03/09/2023, 5:42 PM
    Is it allowed to ask questions here? I have strange behavior with cypress-cucumber preprocessor and cypress promises. When I declare step functions async it getting stuck in the infinity loading. But when I run same code in clean cypress+typescript - everything is going smooth.
  • l

    late-planet-4481

    03/09/2023, 6:42 PM
    What's the pure JS equivalent of
    cy.document().its('body')
    ? I'm browsing through the
    window
    object trying to find where the DOM being tested resides, but there's sooooo much junk to sift through 🙂
  • r

    rapid-yak-87393

    03/09/2023, 7:51 PM
    i think it would be
    window.document.body
    l
    g
    • 3
    • 4
  • p

    proud-room-838

    03/10/2023, 8:14 AM
    A small thing but the tag in #1064948616449503232 for Angular is misspelled
  • g

    gray-kilobyte-89541

    03/10/2023, 11:39 AM
    or is it
  • p

    polite-crowd-91507

    03/10/2023, 11:43 AM
    how to work on social authentication in cypress.
  • t

    thousands-house-85089

    03/10/2023, 11:47 AM
    So I need to use the {tab} keypress in one of my tests, I've seen this in the documentation: https://docs.cypress.io/api/commands/type#Typing-tab-key-does-not-work The suggested 'experimental repo' seems very old - anyone have a better solution to this please? The reason is that an iframe won't play nicely when entering data unless I tab between selections. Thanks.
    w
    • 2
    • 2
  • e

    eager-father-16000

    03/10/2023, 1:14 PM
    Hello everyone, Is there any way to verify images and checkboxes inside a pdf file in cypress??? I can verify the text with pdf parse plugin. But I dont know how validate img and checkboxes in a pdf. If anyone has any idea, will be happy . I am searching for this since two weeks. And didnt find anything
  • a

    acoustic-lock-46014

    03/10/2023, 9:57 PM
    Hello everyone, are there IP ranges from cypress we can allowlist to bypass the rule from third party like Cloudflare? Or how cypress can bypass this kind of security? Today there was an update in our app to block the user's IP from certain condition during login. And now lots of our tests are failing due to "429 Many request error" , I'm thinking Cypress has a way to bypass this or atleast allowlist of ip ranges just like what we used to do in saucelabs.
  • f

    future-translator-75417

    03/12/2023, 6:56 AM
    Hello guys, can anyone help me out integrating E2E tests with xlsx files?
  • f

    future-translator-75417

    03/12/2023, 6:57 AM
    Is anyone here who has done such implementation?
  • m

    mysterious-psychiatrist-29678

    03/13/2023, 1:46 AM
    hi quick question. If there is a lot of custom commands (e.g. checkingStatusViaApiCall) where should assertion be placed in the custom function or in the spec file that calls custom function?
  • l

    late-dinner-1440

    03/13/2023, 12:15 PM
    New german live coding tutorial published - please give this stuff a like to push our super testing framework to the german community 😉

    https://youtu.be/S1zY-tfqRWgâ–¾

  • b

    best-flower-17510

    03/13/2023, 2:28 PM
    Awesome @late-dinner-1440 can you also add this to the #1064949962682683403 channel 😀
1...116117118...127Latest