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

    rough-oxygen-26641

    12/13/2022, 9:19 AM
    Hello everyone, I'll ask this here because it's not a really technical question: I'm approaching Cypress but I'd like to know if there's some sort of implemented way to make someone who is not a javascript coder, run Cypress tests Say I want a tester to enter text inputs and proceed with for example, filling registration forms and browsing pages Would a GUI dashboard built on Cypress be the only way?
  • f

    fresh-doctor-14925

    12/13/2022, 9:23 AM
    You could use the Cypress Studio for a GUI led way to write tests, though I'd still recommend having someone with JS knowledge around for when the tests are flaky and you need to make tweaks https://docs.cypress.io/guides/references/cypress-studio
  • r

    rough-oxygen-26641

    12/13/2022, 9:25 AM
    Thanks, I'll check it out!
  • i

    incalculable-rainbow-43330

    12/13/2022, 1:29 PM
    @best-flower-17510 any update on the issue no 4886 https://github.com/cypress-io/cypress/issues/4886 I found that some one tagged it as stage proposal and type feature and it's extremely painful when running in TDD approach as you know cypress is independent of all specs so, we wish to run only failed test cases (but not retries) please can you help us know if anything is being worked out on this useful proposal of rerun only failed tests or retry test failures
  • l

    late-planet-4481

    12/13/2022, 4:27 PM
    Anyone had trouble with aliases losing their value? I have a complex test that started doing this after upgrading to v12. I can't reproduce it in a simple test yet though.
  • l

    late-planet-4481

    12/13/2022, 4:44 PM
    With nothing but a
    cy.visit()
    in between, the Yield disappears completely.
  • l

    late-planet-4481

    12/13/2022, 7:29 PM
    This is definitely a Cypress 12 issue; rolling back to 11.1 fixes it. I just wish I knew how to reproduce it more generically.
  • i

    incalculable-rainbow-43330

    12/14/2022, 6:56 AM
    @astonishing-city-18705 any update on the below issue which is open for 3 years how to deal with the situation https://github.com/cypress-io/cypress/issues/4886 The use case is: I change some code and then run the tests using the Test Runner UI. Running them takes 10 minutes and 3 tests fail. For the next several minutes I'll focus on these 3 tests, changing code and rerunning them many times. While I do this, I want the Test Runner UI to only watch/rerun these 3 tests, until they pass. When I'm done fixing the issue, I can rerun the whole batch before I commit and push. So this request is really for an improved developer experience while investigating issues, not as a solution to handle flaky tests. @everyone what's your opinion on this feature and do you think its useful to you
  • f

    fresh-doctor-14925

    12/14/2022, 7:20 AM
    > Please be patient, only post your question once in 1 channel and do not mention/ping members unless they are already in a conversation with you. From #763097415896268840 . If you have a Cypress Cloud subscription, you could reach out to Cypress support to escalate. Pinging Cypress employees on here (and then tagging everyone) is just noisy As for asking if it's a feature that would be useful, not really. I'd see it more as a 'nice to have' rather than a feature that would drastically improve my experience
  • a

    astonishing-lunch-98474

    12/14/2022, 9:24 AM
    Hello everyone! 😀 it is worth upgrading from Cypress 9.7? Which version should we upgrade to? Is upgrading to 12 risky? Are there any major improvements?
    f
    t
    • 3
    • 5
  • a

    astonishing-lunch-98474

    12/14/2022, 9:24 AM
    (performance wise)
  • a

    astonishing-lunch-98474

    12/14/2022, 9:25 AM
    We are using cypress to do integration testing for our react app
  • g

    gray-kilobyte-89541

    12/14/2022, 11:34 AM
    well, i don't think it is terribly useful, but one could implement it on top of cypress-grep plugin
  • t

    thousands-house-85089

    12/14/2022, 1:34 PM
    The recommended best practice is to use
    it.only
    when pinpoint working on fixing specific tests. I don't find any issue with doing it this way personally.
  • l

    late-planet-4481

    12/14/2022, 4:54 PM
    Cypress 11.2 is plenty stable for me. I can't use Cypress 12 yet (see above) because I'm mysteriously losing the value on some of the (many) aliases I'm maintaining during my tests. It's easy to downgrade versions if it doesn't work out, so I'd say just get the latest and give it a shot.
  • t

    thousands-house-85089

    12/14/2022, 4:55 PM
    There are quite significant changes between cy v9.x and v10.x though. And the automatic migration didn't work at all for my project so I had to go through the changelog and make changes manually. It wasn't too much effort, but something to be aware of if still on v9.x
  • g

    glamorous-oxygen-73293

    12/14/2022, 6:40 PM
    Not sure where to post this question. Since I added cypress to my Angular project, In vs code, my intellisense marks all of my Jasmine syntax as incorrect. I am currently using Angular version 14 and Cypress 12.01
  • g

    green-winter-59584

    12/14/2022, 7:14 PM
    might wnat to put this in #763105090679865354
  • c

    cold-sugar-17816

    12/14/2022, 7:22 PM
    I'm still trying to grasp the retrying/querying changes in Cypress 12. Consider this code
    Copy code
    cy.get('table tr')
      .eq(2)
      .find('a')
      .should(/* assert its href */)
    If the last assertion fails, will it retry the full chain from the top? Now, make it a bit more complicated. Add another assertion in the middle:
    Copy code
    cy.get('table tr')
      .should("have.length.gt.5") // <---- intermediate assertion
      .eq(2)
      .find('a')
      .should(/* assert its href */)
    If the final assertion fails, what will be retried? The whole chain, including the intermediate assertion? Or just the the
    .eq(2).find('a')
    part? Thanks!
  • g

    gray-kilobyte-89541

    12/14/2022, 7:36 PM
    yes, read https://glebbahmutov.com/blog/cypress-v12/ and what you found is a bug https://github.com/cypress-io/cypress/issues/25134
  • c

    cold-sugar-17816

    12/14/2022, 7:43 PM
    Thanks! The blog post is super clear and helpful. Hope docs.cypress.io could incorporate some of those examples for better visibility :).
  • g

    gray-kilobyte-89541

    12/14/2022, 8:37 PM
    I would read the https://on.cypress.io/retry-ability guide, it has been updated
  • c

    cold-sugar-17816

    12/14/2022, 8:47 PM
    Thanks. Does the same concept apply to built-in assertions? Meaning
    cy.get('tr').find('a')
    will retry the whole chain until
    a
    is found?
  • g

    gray-kilobyte-89541

    12/14/2022, 10:06 PM
    These are not assertions, these are query commands (and they have built-in existence assertions too). See which commands are queries at https://docs.cypress.io/api/table-of-contents
  • c

    cold-sugar-17816

    12/14/2022, 10:07 PM
    Yes, they are queries, that have built-in assertions. And I'm wondering whether failed built-in assertion only retry the query they are related to, or the whole chain
  • g

    glamorous-oxygen-73293

    12/14/2022, 10:44 PM
    thanks will move
  • g

    gray-kilobyte-89541

    12/15/2022, 3:27 AM
    the entire chain (of queries)
  • w

    wide-butcher-68422

    12/15/2022, 5:00 AM
    Can we test Microsoft WCF Services using Cypress ? WCF Services are hosted with various endpoints like BasicHttpBinding, NetTCP, NetMSMQ et. - https://www.c-sharpcorner.com/UploadFile/0c1bb2/endpoints-in-wcf/
  • a

    adventurous-eve-81295

    12/15/2022, 8:46 AM
    I have a problem that in one way or another keeps coming back. I use Vue 3 and because of vue reactivity the DOM changes every time I press a button on a list. I need to press all the buttons on that list, so my question is, what would be the pseudo code for such solution?
  • a

    adventurous-eve-81295

    12/15/2022, 8:51 AM
    is there a cypress playground that I can use to create an example of the problem?
1...100101102...127Latest