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

    dazzling-angle-28206

    11/30/2021, 2:07 PM
    What are you testing? What js framework are you using?
  • p

    powerful-crayon-15587

    11/30/2021, 2:11 PM
    I'm using Node.js and I'm trying to test a registration on a website.
  • d

    dazzling-angle-28206

    11/30/2021, 2:17 PM
    node.js is still incredibly broad. What are you running in there? And what are you testing AKA what is the part in the before all hook that the error is complaining about?
  • p

    powerful-crayon-15587

    11/30/2021, 2:20 PM
    Hold on I can dm you a few pics
  • a

    ancient-wire-34126

    11/30/2021, 3:50 PM
    In Component Testing, is there no way to pass props during a test like in VTU? I can't seem to get to the wrapper, because
    mount
    returns a Cypress Chainable, instead of the Vue Wrapper. Any way to do this? Because testing props usually means you mount the component, do an assertion, change a prop, and do another assertion.
  • c

    calm-doctor-58650

    11/30/2021, 4:00 PM
    Hey Cisco, like the message says, this error is originating from your application, not Cypress. You can try and debug the issue in your application source code, or you can suppress Cypress from failing for these types of errors using the instructions here: https://docs.cypress.io/faq/questions/using-cypress-faq#Can-I-prevent-Cypress-from-failing-my-test-when-my-application-throws-an-uncaught-exception-error
  • p

    powerful-crayon-15587

    11/30/2021, 4:14 PM
    ok thx for telling me I will see what I can do
  • f

    flaky-television-87833

    11/30/2021, 7:41 PM
    Hi, in two websites, namely:
    Copy code
    1 - https://www.cypress.io/blog/2021/04/06/getting-start-with-cypress-component-testing-vue-2-3/
    2 - https://github.com/TheBrainFamily/cypress-cucumber-preprocessor
    The configuration for test files is different... what if I wanted cucumber feature files to be recognised but as well normal unit tests in cypress? how could I set it up if it is possible? Thank you in advance for your time!
  • u

    user

    12/01/2021, 9:38 AM
    Hi devs, I have some issue for 9.1 on Mac, jenkins. https://gitter.im/cypress-io/cypress?at=61a706d9197fa95a1c9d856c
  • u

    user

    12/01/2021, 9:39 AM
    ELECTRON_RUN_AS_NODE=1 trigger a
    Cannot find module
    error.
  • u

    user

    12/01/2021, 9:39 AM
    I can sent more detailed info in private discussion
  • f

    famous-restaurant-30435

    12/01/2021, 5:31 PM
    https://discordapp.com/channels/755913899261296641/763114122065739818/915653133328334848
  • c

    calm-doctor-58650

    12/02/2021, 3:16 PM
    Hey Boghos, you can specify testFiles in your cypress.json and then have a separate location for component testFiles within the component property in your configuration. Check out the example here: https://docs.cypress.io/guides/component-testing/introduction#%EF%B8%8F-Existing-end-to-end-users
  • c

    calm-doctor-58650

    12/02/2021, 3:19 PM
    Hey qsort, did this start with 9.1 but work on previous versions? Or is this your first time using Cypress?
  • a

    ancient-wire-34126

    12/02/2021, 4:46 PM
    I'm using TSX in my component tests, but how do you pass down regular attributes to a Vue component?
  • a

    ancient-wire-34126

    12/02/2021, 4:46 PM
    minLength
    throws an error because it's not defined on the component (it shouldn't be, it's a native attribute)
  • a

    ancient-wire-34126

    12/02/2021, 4:48 PM
    it actually only errors in the IDE, tests work fine
  • h

    handsome-hospital-58766

    12/02/2021, 11:19 PM
    Hi, The engineering manager who managed our account is no longer with the company and we do not have any admin access. Can someone please help me restore this access? I cannot find any way to contact support from the website.
  • d

    dazzling-angle-28206

    12/02/2021, 11:31 PM
    How exactly is this is related to cypress?
  • h

    handsome-hospital-58766

    12/02/2021, 11:35 PM
    We've lost access to our Cypress dashboard and I cannot find a path to reach tech support.
  • d

    dazzling-angle-28206

    12/03/2021, 12:37 AM
    Right there is no contact information... I guess there would be an option to contact support when you've logged into your account. The only thing you could try is the Contact us for the Enterprise plan on the pricing page. That's what I would do if I couldn't find any contact information on the website ;-)
  • h

    handsome-hospital-58766

    12/03/2021, 12:39 AM
    Ah, let me try to find that. I scoured the website looking for any contact us area and wasn’t successful. Will try finding a sales contact.
    c
    • 2
    • 1
  • u

    user

    12/03/2021, 5:01 AM
    xvfb is not working for circleci, jenkins. ppl complaint about it. If you plan to fork and patch. I'm with you.
  • u

    user

    12/03/2021, 5:01 AM
    not noob, not only 9.1
  • c

    creamy-train-56346

    12/03/2021, 10:56 AM
    hey @User! encouraged by your previous help I'm coming with another problem, more general one this time 🙂 I'm testing react native app. There is sort of dynamically changing list in it. List is comprised of divs, but I don't think it matters. Anyway elements on said list can be deleted. Once an element is removed, DOM is being rebuilt completely, typical react behaviour. However it creates well known problem of element being detached from DOM. So I am unable to do anything on this page anymore. Only thing that I could come up with was reloading the page, but it's not how real user will operate, so it's not really testing anything. I have scoured the web, seen Gleb's post in this topic (which unfortunately wasn't helpful) and finally looked for suitable plugin. I refuse to believe that Cypress can't handle it 😄 any golden rule for it? suggestions from your end?
  • f

    flaky-television-87833

    12/03/2021, 3:30 PM
    Hi, thank you for the reply. Do you think it is possible to add unit tests instead of component testing? if so how?
    c
    • 2
    • 67
  • h

    high-salesmen-41114

    12/03/2021, 4:48 PM
    Hi, if I use
    cy.log("\backslash")
    only
    backslash
    gets logged. The same goes for
    cy.log("\\backslash")
    only
    backslash
    . The issue is as well present in
    cy.type()
    . Is there a way to use backslash? I need to use it in my password to test and it drives me nuts. Thanks for your help 🙏
  • a

    ancient-wire-34126

    12/03/2021, 6:28 PM
    type('\\thing)
    types
    \thing
    for me
  • a

    ancient-wire-34126

    12/03/2021, 6:29 PM
    same for cy.log
  • c

    calm-doctor-58650

    12/03/2021, 6:52 PM
    That's unusual, adding a single backslash should work. Do you have an example you can share? You can also create a GitHub issue with your reproducible example so the team can troubleshoot what might be happening here. https://github.com/cypress-io/cypress/issues
1...394041...252Latest