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

    green-forest-29016

    06/10/2022, 4:29 PM
    Hi, I've just recently started using Cypress with Angular for e2e testing and I'm wondering if anyone knows of a way to wipe a firestore database before a test. I can't really find such a script / command anywhere. Thanks for the help in advance!
  • g

    green-lifeguard-11615

    06/10/2022, 5:21 PM
    Hey, I've got one more issue with junit reports... I'm trying to change the reporter's testcase title separator, but the following reporter option doesn't work
  • o

    orange-egg-80225

    06/10/2022, 6:13 PM
    Do you know if this will work for vuetify 3? Followed this example but couldn't locate the children.
  • e

    echoing-actor-29720

    06/10/2022, 7:56 PM
    Hello, I’m trying to use cypress for e2e testing and I can’t run my test multiple times while test runner open. Each time, I have to clear app data, close everything and then reopen cypress. Otherwise on my second attempt cypress just navigates where the previous test is finished. Any thoughts, suggestions would be helpful. Thank you.
  • c

    calm-sundown-94839

    06/10/2022, 9:22 PM
    Hello guys, i am looking to get a better looking report like allure or extent , but working in cypress i donot see there is any resource online for reports other than mocha or cucumber .. could someone please help with this?
  • c

    calm-sundown-94839

    06/10/2022, 9:25 PM
    Also is there a way we can handle drivers using cucumber hooks instead of letting cypress handle itself? I am pretty new to cypress so please help me and bare with my silly questions 🙏as i used to work in selenium java it is taking time for me to think out of that 🙈🙈
  • c

    calm-sundown-94839

    06/10/2022, 9:29 PM
    Are you using cucumber? I have set up my suite with cucumber tags and we can run based on them using the cli command
  • g

    gray-kilobyte-89541

    06/10/2022, 11:06 PM
    https://on.cypress.io/reporters
  • i

    incalculable-fall-95048

    06/11/2022, 12:03 AM
    Hey everyone! I'm currently having an issue with Cypress in my Ionic project, I've already installed it via npm and now I'm trying to open cypress using "./node_modules/.bin/cypress open". The app opens a few seconds, but then crashes and I receive no error from it. Hope you can help me
  • b

    boundless-answer-75119

    06/11/2022, 10:12 AM
    Hey everyone . Is there a better way for looking into stack trace. If a cypress command is called from a Spec file the stack trace doesn’t show the spec file in the stack trace
  • f

    fresh-doctor-14925

    06/11/2022, 1:45 PM
    Should be fairly clear from the output which spec has failed Side note: if you’re having issues with this approach, try
    .should(“contain”, message)
    . Unlike
    .contains()
    , that will retry the `.get()`until the condition is met Also, I think your visibility check is superfluous.
    get()
    has an implicit visibility check and will fail if the element is not visible
  • b

    boundless-answer-75119

    06/11/2022, 1:48 PM
    Actually my question is different here. I just want to know if there is any way we can have a longer stack trace to have an idea about parent spec file line number
  • f

    fresh-doctor-14925

    06/11/2022, 1:52 PM
    In
    cypress open
    you can click on the failed line in the run output. That gives some more context in the developer console. Other than that, it’s probably a feature request on GitHub
  • b

    brash-tiger-52405

    06/11/2022, 4:30 PM
    clicking on a button opens a new url, but in incognito modus the part after the /.. (subdirectory) in the url gets deleted.
  • m

    mysterious-sandwich-43667

    06/11/2022, 6:32 PM
    When I have the UI open & change the baseUrl in cypress.config.js it reloads the browser, but sticks with the baseUrl it had when I started it. To get the new one I have to quit and restart. Is that expected?
  • g

    green-forest-29016

    06/11/2022, 6:39 PM
    anyone?
  • p

    powerful-apple-75460

    06/11/2022, 6:57 PM
    Hi everyone. I am unable to run cypress on my brand new Mac book pro '21 (M1 pro). I am unable to open cypress after installing it. it is giving me following error. please provide any solution .
    p
    b
    • 3
    • 7
  • i

    incalculable-fall-95048

    06/11/2022, 8:15 PM
    Same problem here. Runnning
    ./node_modules/.bin/cypress open
    open the app and after a few seconds it crashes
  • g

    gray-tiger-73550

    06/12/2022, 2:27 PM
    Hello everyone, After I upgrade cypress to version 10.1.0 from 9.7.0 running eslint throws different warnings. Not sure what breaks this. Anyone else had the same problem? Is there any config files that can help you?
  • p

    polite-diamond-19684

    06/12/2022, 3:47 PM
    I'm running component tests and trying to use the .env.test to set my application environment variables. It seems I cannot set NODE_ENV=test. Is there a way to do it?
  • p

    polite-diamond-19684

    06/12/2022, 3:49 PM
    I recommend
    cy.wrap(spy).should('have.been.calledOn')
    But I'm very new to cypress so take it with a grain of salt There's also
    'be.calledOn'
    . I'm not sure what the difference is.
  • p

    polite-diamond-19684

    06/12/2022, 3:51 PM
    Hi everyone I am unable to run cypress
  • p

    polite-diamond-19684

    06/12/2022, 4:09 PM
    I m running component tests and trying
  • g

    gray-tiger-73550

    06/12/2022, 6:03 PM
    I forgot to mention this is not cypress code but this is the error cypress is generating to another test framework, thus linting giving these warnings.
  • g

    gray-tiger-73550

    06/12/2022, 6:03 PM
    Maybe something to do with: https://docs.cypress.io/guides/tooling/typescript-support#Clashing-types-with-Jest
  • c

    chilly-queen-22182

    06/12/2022, 9:15 PM
    Hi @gray-kilobyte-89541 is there any way I can do component testing using cypress on aurelia app please? any doc or reference will be appreciated.
  • g

    gray-kilobyte-89541

    06/12/2022, 11:19 PM
    cy.contains
    retries too
  • g

    gray-kilobyte-89541

    06/12/2022, 11:19 PM
    I don't think anyone has written an adapter for the Aurelia framework. Maybe look at the component docs and see if you can write one by following the React or Vue ones?
  • w

    worried-baker-31345

    06/12/2022, 11:34 PM
    Hello everyone, im running to an issue when im trying to compare a downloaded csv file with the one i have on the project file. "Cannot read properties of undefined (reading 'uploadCSV')" is the error im having.The test case brakes at the "cy.fixture('menu/statisticsUploadedFile.csv').as('uploadCSV')" point. Usually this works fine but now it doesnt. Test cases before this had no error like im having right now. Is there a way i can solve this problem?
  • f

    fresh-doctor-14925

    06/13/2022, 7:00 AM
    I’ve been of the understanding that `.contains()`will only retry the assertion on the already-yielded element, rather than getting
    .get()
    to yield the element again and then retry. Is that incorrect?
1...828384...252Latest