https://cypress.io logo
Join Discord
Powered by
# help
  • f

    fresh-doctor-14925

    11/11/2022, 8:48 AM
    I've not encountered this myself. Out of interest, have you tried with Firefox?
  • s

    stale-optician-85950

    11/11/2022, 9:01 AM
    Run
    npm cypress info
    and see which browsers are detected and if everything looks as you would expect. https://docs.cypress.io/guides/guides/command-line#cypress-info
  • b

    better-ocean-83368

    11/11/2022, 2:14 PM
    Does anyone know if Cypress can allow for pki client certification selection (use case, while not cypress specific, is defined well here: https://github.com/microsoft/playwright/issues/1799) ? At 8.0.0, Cypress supports Client Certificates (https://docs.cypress.io/guides/references/client-certificates) but I'm still not having success having my tests actually select a test PKI cert during test execution (hitting a Vue.js application). Does anyone know if that is supported? or is that not in the purview of Cypress. Any feedback or help would be very much appreciated. This is discussed here (https://github.com/cypress-io/cypress/discussions/20117) as well.
  • f

    faint-thailand-67863

    11/11/2022, 5:07 PM
    Cypress 10.11.0 allows to modify experimentalSessionAndOrigin? I am trying to change it to true under e2e, but it does not change anyways
  • a

    adorable-smartphone-87280

    11/11/2022, 5:13 PM
    After changing config, you might need to restart the Cypress runner, if you haven't already done so. I typically re-run my bootstrap script after modifying any sort of config, but this might be overkill. I think Cypress 10 is supposed to automatically reload config changes, but I like to be sure.
  • f

    faint-thailand-67863

    11/11/2022, 5:19 PM
    I upgraded it to the latest version and there is not way to modify it. I also tried to re run but nothing happens.
  • m

    mysterious-belgium-25713

    11/11/2022, 7:34 PM
    Can you show us a screenshot of your config file and also a screenshot of the cypress config you can get this when you are in Cypress UI mode and check the config there.
  • s

    straight-nail-40770

    11/11/2022, 10:03 PM
    I need help with this: how I can make it work: I created a command so I am calling it but it is not working dont know how to make it right
    • 1
    • 1
  • b

    billions-tomato-88210

    11/12/2022, 2:06 AM
    Hello everyone! I'm currently working on a school project, one of the test is to test logout button by cypress, I've search on google and youtube , could not find something to help out.. if someone could help me out with it i will really appreciate it.. "The logout button logs the user out when clicked"
  • m

    mysterious-belgium-25713

    11/12/2022, 8:21 AM
    What part do you need help with? Because this is a really generic question. Do you want to know how to start cypress and create a test. Or the steps to select and click a button?
  • g

    gorgeous-musician-66418

    11/12/2022, 8:23 AM
    Hello everyone In launching browser document say cypress support Chrome 64 and above. I install Chromium 64.0.3282.167. but when run cypress dashboard show error: Error: Cypress requires at least Chrome 64. Document is wrong or i need only instal chrome?
  • b

    billions-tomato-88210

    11/12/2022, 3:20 PM
    First of all, thank you! I've done sign in with its input values.. but I'm struggeling with the logout button, so yes, "the steps to select and click a button?"..
  • p

    proud-gpu-14798

    11/12/2022, 3:21 PM
    cy.intercept
    question: I have an app that makes repeated calls to a particular endpoint, what approaches enable a wait for a response body that includes a specific value within the body?
  • p

    proud-gpu-14798

    11/12/2022, 3:46 PM
    cy.intercept
    question: I have an app that makes specific API calls to a specific
    /events/
    endpoint, and those requests may be executed in random/different orders, but each definitely has a unique value such as
    type:"exercise_run_start"
    vs
    type:"exercise_run_end"
    I need to validate that all of the expected API calls were executed, and no unexpected API calls to that endpoint where executed (can use a spy to validate the count is not greater than expected), and each call included the correct expected JSON in the request body. Do I simply setup a couple dozen unique intercepts by aliasing individual requests based on request body inspection for the
    type
    ? https://docs.cypress.io/api/commands/intercept#Aliasing-individual-requests Or are there some other options I have not considered like some way to set a generic intercept against
    /events/
    but a method to access the entire interception stack instead of popping from the stack using
    cy.wait("@{alias}")
    ?
  • m

    mysterious-belgium-25713

    11/12/2022, 4:08 PM
    There are multiple ways to do this. But since i dont know the website you are testing. Let's say there is a button with the text logout on the page then you could do. cy.contains("logout").click() But without the actual site i cannot don't know the real solution
  • g

    gray-kilobyte-89541

    11/12/2022, 4:43 PM
    Yeah, like others said, there are multiple ways to solve this. I would plug in my paid course covering these topics https://cypress.tips/courses/network-testing
  • s

    stale-furniture-7985

    11/12/2022, 6:10 PM
    Hi everyone, and special greetings to @gray-kilobyte-89541. I have one question. I have finished, as you have seen, your cypress course on sudoku game. There was one issue with my tests which i have facing, especialy with component testing. My cypress, which is updated, cannot recognize and import some data from main game code. For example, sudokucontext.tsx is not recognized. Also, some features don't appear at all in my version of game, like overlay. I've seen, your game code is in java script, so there is some changes in main code also, but i don't understand why cypress cannot read and import this data. If you have similar question, and know where is the issue, or someone else, please inform me, i would like to see tests working. Thanks
  • b

    bumpy-exabyte-34804

    11/12/2022, 10:05 PM
    I got the same error. Found any solution ?
  • s

    stale-optician-85950

    11/12/2022, 10:14 PM
    Try the latest version with the hotfix for custom reporters https://docs.cypress.io/guides/references/changelog#11-0-1
  • g

    glamorous-planet-98729

    11/13/2022, 9:54 AM
    Hello Dear I have problem with opening cypress version 11.0.1, please your kind support
  • s

    stale-optician-85950

    11/13/2022, 9:59 AM
    There are no psychics here ๐Ÿ”ฎ Post your error screenshots and code for a better chance of receiving support.
  • g

    glamorous-planet-98729

    11/13/2022, 11:05 AM
    I run this command "./node_modules/.bin/cypress open" I get this: Still waiting to connect to Chrome, retrying in 1 second (attempt 61/62) . . . Still waiting to connect to Chrome, retrying in 1 second (attempt 62/62) The Test Runner unexpectedly exited via a exit event with signal SIGABRT Please search Cypress documentation for possible solutions: https://on.cypress.io Check if there is a GitHub issue describing this crash: https://github.com/cypress-io/cypress/issues Consider opening a new issue. ---------- Platform: darwin-x64 (21.6.0) Cypress Version: 11.0.1
  • g

    glamorous-planet-98729

    11/13/2022, 11:07 AM
    What OS version? it is macOS Monterey v 12.6.1 Did it work in previous version? yes
  • b

    bumpy-exabyte-34804

    11/13/2022, 11:18 AM
    Found any solution yet ?
  • a

    adorable-photographer-47740

    11/13/2022, 11:34 AM
    Hello! Iโ€™m trying to run tests via the Cypress Dashboard, but the test server that it communicates to restricts the IPs from which it accepts requests. Could you tell me what the public IP or CIDR block is, from where Cypress runs its tests so that it can be whitelisted? (edited)
  • c

    careful-insurance-62240

    11/13/2022, 2:23 PM
    Please find my New Blog on "Cypress API Automation Using Plugin Cypress-plugin-API" https://qaautomationlabs.com/cypress-api-automation-using-plugin-cypress-plugin-api/
  • g

    glamorous-planet-98729

    11/13/2022, 2:31 PM
    please help ๐Ÿ†˜ ๐Ÿ™Œ
  • s

    stale-optician-85950

    11/13/2022, 3:29 PM
    That's not something I've experienced before and the error doesnโ€™t give away much either. If you are definitely doing everything the same as you were pre-version 11.0.1, then I would suggest a full Cypress cache clearing
    npm cypress cache clear
    as shown in docs here https://docs.cypress.io/guides/guides/command-line#cypress-cache-clear and reinstall Cypress latest version. You could also run
    npm cypress info
    to view how your browsers are seen by Cypress and if everything is as you expect https://docs.cypress.io/guides/guides/command-line#cypress-info Was your previous working version v10.x.x? Also, if this is SOS in your framework just revert to the working version in the meantime. And debug version 11.0.1 on a branch safely, still allowing your CI tests to run in CI etc
  • b

    billions-tomato-88210

    11/13/2022, 5:03 PM
    Thank you!
  • g

    gray-kilobyte-89541

    11/13/2022, 10:40 PM
    Hey there, of course, let me help you. Which repo are you using? Let's look at the code, ok? Can you show me the spec with the import statement?
1...202203204...252Latest