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

    tall-area-9998

    10/21/2021, 8:59 AM
    I ended up using the concept you suggested. Checked that an attribute on the element had the expected data to be passed to the function.
  • f

    fancy-airplane-60156

    10/21/2021, 10:24 AM
    I'm glad I was helpful. I'm also learning Cypress.
  • t

    tall-area-9998

    10/22/2021, 9:11 AM
    Been trying to parallelize my test on bitbucket pipeline and I'm curious to know what this part does and how Cypress handles it
    Copy code
    - parallel:
            # run N steps in parallel
            - step:
                <<: *e2e
            - step:
                <<: *e2e
            - step:
                <<: *e2e
    I'm guessing it automatically picks tests that other steps haven't picked?
  • t

    tall-area-9998

    10/22/2021, 9:22 AM
    Okay so my first trial at parallelizing the tests seems to have worked and the steps pick tests automatically
  • t

    tall-area-9998

    10/22/2021, 9:30 AM
    Oh this information has given me the answer...really well explained! https://docs.cypress.io/guides/guides/parallelization#CI-parallelization-interactions
  • a

    acoustic-baker-93651

    10/22/2021, 11:31 PM
    anybody know why is the counter keeps ticking even though test failed long time ago? Is it a bug?
  • t

    tall-area-9998

    10/22/2021, 11:55 PM
    I've noticed that at some point...was using version 7.7 I just upgraded to 8.6.0 I'll check if it happens
  • t

    tall-area-9998

    10/22/2021, 11:57 PM
    Please what is the solution to the detached form DOM error?
  • m

    millions-account-32360

    10/28/2021, 8:03 AM
    Cypress failing to connect browser, Any help please?
  • i

    important-river-75795

    10/28/2021, 10:02 AM
    are you sure your app is working on that port?
  • m

    millions-account-32360

    10/28/2021, 10:41 AM
    my app is running on localhost:3000, I even tried giving baseUrl:https://localhost:3000 but no luck
  • u

    user

    10/29/2021, 5:35 PM
    Hey guys, I'm new to Cypress and relatively new to E2E and after doing some researching of my own I was suggested to come here for some answers. I'm trying to determine if there is a more efficient way to run the same tests through multiple types of browsers as well as multiple versions of each browser than say appending a bunch of cypress run --b (browser) to the run command. I've been trying to browse through the config options and nothing seemed to do what I was hoping to accomplish. Any help would be appreciated. (screenshot provided as example of what I don't want to have to do)
  • u

    user

    10/31/2021, 10:54 PM
    I installed
    @cypress/react
    package to do component testing, got it working however when I change the
    componentFolder
    path inside
    cypress.json
    to something other than
    cypress/component
    , it returns 'No tests found.' (it's the same test file that works in
    cypress/component
    path)
  • u

    user

    10/31/2021, 10:56 PM
    is this an expected behaviour?
  • u

    user

    10/31/2021, 11:42 PM
    oh wow turns out some caching is taking place that breaks this, deleting .next folder makes it work (next.js)
  • s

    shy-iron-15655

    11/01/2021, 3:12 AM
    I encountered a problem about internationalization. My website is available in Chinese and English. When I use cypress to test, I hope that the default is English, but sometimes it becomes Chinese and the test fails. I don't know why.
  • f

    fancy-airplane-60156

    11/01/2021, 4:41 AM
    Hi I've installed Cypress 7.7 and I'm trying to install Cucumber. I'm getting below message.
  • f

    fancy-airplane-60156

    11/01/2021, 4:41 AM
    28 vulnerabilities (10 moderate, 18 high) To address issues that do not require attention, run: npm audit fix
  • f

    fancy-airplane-60156

    11/01/2021, 4:42 AM
    Can someone recommend what's the appropriate cucumber version that i need to install for it to work with 7.7
  • u

    user

    11/01/2021, 2:49 PM
    Can someone answer this is anyone knows?
  • w

    wooden-exabyte-51274

    11/02/2021, 11:05 AM
    @here how can i stop the page from reloading when i want to preform my next
    it()
    statement?
  • w

    wooden-exabyte-51274

    11/02/2021, 11:06 AM
    basically what im doing is when the user logs in i want to click on a part of the site but when i write the next statement it starts from the log in page again
  • u

    user

    11/02/2021, 5:00 PM
    it does whatever your beforeEach() function says to do before each it() You probably shouldn't be relying on that method anyways because each test you should essentially be starting clean, don't rely on the results of the previous test to get you through the other tests
  • w

    wooden-exabyte-51274

    11/02/2021, 5:09 PM
    Ah ok thank you
  • l

    limited-keyboard-75773

    11/02/2021, 6:28 PM
    I was wondering if somebody has a recommended approach on how to deal with different languages in Cypress. We have hundreds of E2E tests with Cypress using the POM. Currently, we're on working an effort to handle not only the English assertions, but also French assertions. Can somebody offer some articles, tips, advice, strategies on how to handle this? Tks in advance!
  • s

    sticky-dentist-24502

    11/03/2021, 3:50 PM
    Hi, can I test graphql subscriptions with cypress ? thanks 🙂
  • g

    gray-kilobyte-89541

    11/04/2021, 12:37 AM
    I don't see why not
  • n

    narrow-answer-2036

    11/04/2021, 8:08 PM
    How do I get the raw id of an htmlElement and return it?
  • n

    narrow-answer-2036

    11/04/2021, 8:09 PM
    so far i've doen this but it doesn't do quite what i'd like it to
  • n

    narrow-answer-2036

    11/04/2021, 8:09 PM
    Copy code
    ts
     cy.document().then((doc) => {
          const paragraph = doc.querySelector(nthParagraph(n))
          if (!paragraph) return
          return docs.find(doc => doc._id == paragraph.id)
      })
    b
    i
    • 3
    • 15
1...353637...252Latest