https://cypress.io logo
Join DiscordCommunities
Powered by
# help
  • t

    thankful-vegetable-38026

    09/09/2022, 12:36 PM
    looks like you're missing the e2e folder in the second image there
  • t

    thankful-vegetable-38026

    09/09/2022, 12:36 PM
    cypress/e2e/integration
  • r

    refined-airplane-56912

    09/09/2022, 1:49 PM
    Hi, anyone know how to add CYPRESS_RECORD_KEY to the cypress.config.js? Sound like something really silly, but I can't get it to work. I'm doing some tests to learn how to use pipelines with CircleCI, but it's not recognizing the record_key
  • r

    refined-airplane-56912

    09/09/2022, 1:52 PM
    And the documentation just says "you must set CYPRESS_RECORD_KEY", but I can't get one that gives me an example of how to do it. I tried creating inside env CYPRESS_RECORD_KEY and recordKey, but it doesn't work to me
  • g

    gray-caravan-70127

    09/09/2022, 2:12 PM
    try on this way
  • g

    gray-kilobyte-89541

    09/09/2022, 3:00 PM
    you can always search Cypress docs https://docs.cypress.io/faq/questions/using-cypress-faq#What-is-a-Record-Key
  • s

    silly-planet-33703

    09/09/2022, 3:01 PM
    Hey all! Has anyone gotten Cypress to work with GraphQL? — Specifically getting cypress to work with Batch GraphQL queries and waiting on batch GraphQL queries.
  • r

    refined-airplane-56912

    09/09/2022, 3:02 PM
    Thanks, I tried something similar, but the parallelization is not working to me correctly, it is not doing the splitting (I have two specs with one test case each, I tried to use 2 machines, but both are running the two specs, instead of one running the first and the other the second). I am using the npx run as a command, instead of following to the letter the configuration that is in the documentation, precisely because I don't understand how to send the key there, they only say "export CYPRESS_RECORD_KEY" but I have no idea where I should do that, I try it in the config.yml but nothing that works for me. And I suspect that might be why I'm not getting the splitting, so I'm trying to follow the documentation configuration, but it's very frustrating that all the examples I see just say "do the export" but don't say how to do it.
  • r

    refined-airplane-56912

    09/09/2022, 3:03 PM
    Sorry for the long paragraph, but it's frustrating that I've been at this since last night, something that seems very simple but I'm doing something stupid wrong
  • r

    refined-airplane-56912

    09/09/2022, 3:06 PM
    To be honest, usually Cypress docs doesn't work to me precisely because many of its examples are "build the combustion engine", assuming that one knows how to build combustion engines. I love your blog instead, you can't imagine how many times you have helped me, you do tell me where I should put the pistons and that I should put gas in it. I take this opportunity to thank you!
  • r

    refined-airplane-56912

    09/09/2022, 3:11 PM
    I'm going to get away from the computer for a while to lower the frustration, and in a while I'll try creating scripts to see if the splitting works together with the record. Thanks!
  • v

    victorious-father-41976

    09/09/2022, 6:50 PM
    Hey all Has anyone gotten Cypress to
  • g

    gray-kilobyte-89541

    09/09/2022, 8:03 PM
    Ha, thank you! Yeah, in that case https://glebbahmutov.com/blog/solve-the-first-click/#recording
  • w

    wooden-photographer-71349

    09/09/2022, 8:22 PM
    Hello ! I'm using component testing in react and I need to pass the result of a useState to some of my components, tried to use mountHook from @billions-barista-30103/react but I can't get it to work and I can't find much documentation on this use case. Anyone got an idea ? Thanks a lot
  • n

    nice-machine-16386

    09/09/2022, 9:17 PM
    I think I found the issue with my app's network requests that stall for a bit in Cypress. It seems that the cypress runner is using HTTP 1.1, which is limited to 6 TCP connections per origin. However, outside cypress, my app uses HTTP 2.0 and does not experience the long stalls. Is there any plan for Cypress to start using HTTP 2.0?
  • n

    nice-machine-16386

    09/09/2022, 10:38 PM
    Got my answer- no time soon. https://github.com/cypress-io/cypress/issues/3708
  • c

    cold-van-45410

    09/10/2022, 1:52 PM
    why this message is shown
  • c

    cold-van-45410

    09/10/2022, 1:52 PM
    actually i hand;le the situation
  • c

    cold-van-45410

    09/10/2022, 1:55 PM
    it is saying using 'export ' is syntax error ,how to solve it.
  • w

    wooden-photographer-71349

    09/10/2022, 2:00 PM
    bump, this is a show stopper for my organisation 😦
  • s

    stale-optician-85950

    09/10/2022, 4:10 PM
    @cold-van-45410 we cannot know from the details you provided if you have configured your task correctly in
    cypress.config.js
    >
    setupNodeEvents(on, config)
    as documented here https://docs.cypress.io/api/commands/task#Usage
  • p

    prehistoric-restaurant-72560

    09/11/2022, 9:38 PM
    Hi, im trying to login with cypress to https://gog.com but somehow when https://login.gog.com/ opens in Cypress the page is all white, however even if I open it in new tap inside Cypress it loads correctly... funny how these inputs exists in the DOM
  • e

    elegant-river-87347

    09/12/2022, 4:13 AM
    Hi, I'm trying to migrate to cypress 10,, but getting an error , im converting from cypress.json to cypress.config.ts.
  • p

    prehistoric-restaurant-72560

    09/12/2022, 6:32 AM
    Hi I m trying to migrate to cypress 10
  • e

    elegant-river-87347

    09/12/2022, 9:28 AM
    Hi anyone .. i have been using cypress-terminal-report but now i guess i delete something and the error is this .. thanks
  • c

    clever-wolf-94946

    09/12/2022, 11:18 AM
    Hey, I'm not sure if this is the right spot, but I found a mistake in the docu: It says
    Copy code
    cy.mount(<Stepper onClick={onChangeSpy})
    but it should be
    Copy code
    cy.mount(<Stepper onChange={onChangeSpy} />)
    Have a nice day!
  • s

    stale-optician-85950

    09/12/2022, 12:55 PM
    Hi, when I invoke the text of this h2 element I want to exclude the
    small
    element text. So I only want
    Modal 3 promo 4
    and not
    Modal 3 promo 4 (3 of 4)
    . I know I can easily JS split the text, but I'm wondering if it's possible with Cypress
    children
    command too?
  • g

    gorgeous-kite-84316

    09/12/2022, 1:00 PM
    Hey all, I am wondering if anyone can help me figure out retry-ability a bit better. I have recently become responsible for a sizable cypress test repo and we have dom detachment errors left and right. I now vaguely understand that many of these are due to long command chains preventing retry-ability but I am really not sure on how I can fix this without making sizable code changes. Currently there is just cy.wait(5000) all over the place 🤮 . Here is an example command we have
    cy.get('[value=xxx]').parentsUntil('[class*='xxx]').contains('label','xxx').find('input').type('xxx');
    Im not sure how mergeable this query is, is this something that can be fixed with a should callback? Thank you in advance for any response.
  • g

    gray-kilobyte-89541

    09/12/2022, 1:15 PM
    https://github.com/bahmutov/cypress-examples/commit/85f253a54e43b298fb2481758219509922f31254
  • s

    stale-optician-85950

    09/12/2022, 1:19 PM
    Good man @gray-kilobyte-89541 I knew there had to be a command covered by either Cypress or JQuery. 👏
1...143144145...252Latest