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

    big-baker-75250

    06/01/2022, 6:22 AM
    Hi guys. Can you give me some recommendations how to mock WebSockets in Cypress e2e testing? I saw "cypress-websocket-testing" package in the plugins list, but it relies on rjxs (which we do not want to use). Any other options? 🙂
  • g

    great-microphone-30888

    06/01/2022, 9:07 AM
    could anyone help me with this? https://stackoverflow.com/questions/72111937/how-can-i-make-only-and-this-to-work-after-hacking-the-cypress-hook
  • g

    gray-kilobyte-89541

    06/01/2022, 1:17 PM
    if you search https://cypress.tips/search under videos you can find my example
  • c

    clever-painting-72787

    06/01/2022, 1:23 PM
    I ran into this issue whilst running cypress on CI
  • c

    clever-painting-72787

    06/01/2022, 1:23 PM
    I have issues loading resources from CDNs in github actions [2188:0601/114655.215549:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for fonts.gstatic.com failed: ----- Certificate i=0 (OU=Cypress Proxy Server Certificate,O=Cypress Proxy CA,L=Internet,ST=Internet,C=Internet,CN=fonts.gstatic.com) ----- I ran into this issue
  • c

    clever-painting-72787

    06/01/2022, 3:48 PM
    I had to disable the chrome security settings
  • c

    clever-painting-72787

    06/01/2022, 4:21 PM
    I think the docs need to be updated to include this
  • c

    clever-painting-72787

    06/01/2022, 4:21 PM
    I spent several hours on this
  • n

    narrow-lamp-40218

    06/01/2022, 5:03 PM
    I would encourage you to file an issue (https://github.com/cypress-io/cypress-documentation/issues/new?assignees=&labels=content%3A+rewrite&template=documentation_request.yml) or PR in the docs repo for added visibility.
  • b

    better-television-27379

    06/01/2022, 7:51 PM
    Hello everyone! I'm pretty new to cypress. Looking for a guide or documentation on how to write mocks for tests when there's an SSE request . Couldn't find any in the official docs
  • g

    gray-kilobyte-89541

    06/01/2022, 9:00 PM
    I will add stubbing SSE example to my Network Course https://cypress.tips/courses
  • d

    dazzling-afternoon-58652

    06/01/2022, 10:35 PM
    Hey everyone, I need help on how I can make a test with multiple pages in a website
    s
    • 2
    • 3
  • s

    swift-angle-95455

    06/01/2022, 11:14 PM
    Test with multiple pages
  • g

    gray-kilobyte-89541

    06/02/2022, 2:04 AM
    Added Bonus 22 lesson to my course with stubbing SSE example
  • r

    rhythmic-butcher-48923

    06/02/2022, 6:31 AM
    naturally i have seed task in my e2e tests, does that mean that i must include prisma in my cypress container? I dont see other way how to run tests without prisma dependency in e2e container, and such case (although very common) is not documented in existing cypress examples
  • c

    calm-nail-75610

    06/02/2022, 8:52 AM
    Hi Gerome, thank you for your response, do you perhaps know why on certain browsers i get that error like on chrome version 102 i get that message for all tests but on firefox all tests are running fine then on edge its sporadic its just so confusing.
  • e

    echoing-painting-40909

    06/02/2022, 9:06 AM
    Hi Garreth, I never used such a limitation so I can't help you sorry. About firefox, i found this SO question: https://stackoverflow.com/questions/70479603/selenium-gets-response-code-of-429-but-firefox-private-mode-does-not
  • a

    adamant-memory-22241

    06/02/2022, 10:58 AM
    Hello Everyone, Is it possible to run same test in cypress with different data sets , like we have data-provider in test-ng with selenium
  • g

    gray-kilobyte-89541

    06/02/2022, 11:39 AM
    https://github.com/bahmutov/cypress-each
  • r

    rich-lamp-44536

    06/02/2022, 12:04 PM
    Please PING me if anyone here has a working Vite+Vue3+Cypress+E2E TypeScript code-coverage solution where I can have a look into I cannot get it to work
  • a

    adamant-memory-22241

    06/02/2022, 12:10 PM
    Thanks much this helps!!!
  • r

    rich-beach-82340

    06/02/2022, 7:24 PM
    Hi, I have a schema.graphql and am trying to use it to loop over each top level query field I have, and create a test with it() for each one. I'm new to the async model that cypress uses. Where should I put my code that does fs.readFileSync()? And where can I do it()'s inside of a loop?
  • f

    full-river-47441

    06/02/2022, 7:25 PM
    Hello 👋 I need someone to wrap my head around how wrap() works. I use it to chain commands but it does not work as I expect. When I use wrap() to chain my custom command, sometimes test fails and does not continue to execute the commands after the wrap() especially on CI. If I use just native Cypress commands, then it works. Can anyone help me understand what is happening here? Take a look at the snapshot. The first command fails on CI and second passes.
  • a

    acceptable-solstice-90676

    06/02/2022, 11:42 PM
    I am experiencing the same
  • a

    acceptable-solstice-90676

    06/02/2022, 11:51 PM
    I have it disabled, but I am still facing the issue, was there another thing you did?
  • m

    modern-fish-67741

    06/03/2022, 5:01 AM
    Wait Ive been stuck on this when i run tests in a docker container in Jenkins. How do you disable the settings?
  • r

    rhythmic-butcher-48923

    06/03/2022, 9:41 AM
    I have trouble running Cypress with Typescript inside Docker container. I described the problem here: https://github.com/cypress-io/cypress/discussions/22084 I couldn't find complete example with both Typescript and Docker, closest I found is this, but it's JavaScript only: https://github.com/cypress-io/cypress-example-docker-compose
  • c

    crooked-chef-53996

    06/03/2022, 12:23 PM
    Hi, I have a question about registering a Cypress app action in a Vue.js app https://stackoverflow.com/questions/72489395/register-a-cypress-app-action-in-a-vue-js-app
  • a

    acceptable-solstice-90676

    06/03/2022, 12:27 PM
    +Hey, I am still stuck, and by disabling the chrome security settings, I assumed it was thiis
    chromeWebSecurity: false,
    in the config file, but probably I'm wrong.
  • l

    loud-vase-48777

    06/03/2022, 12:28 PM
    hi, any way to execute a functions from outside in cy.origin.
    g
    • 2
    • 1
1...464748...192Latest