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

    user

    10/08/2021, 2:42 PM
    Hello there, I've installed cypress using powershell on windows 10 and the problem is that I get this error message when I try to open it or even just verify the install
  • u

    user

    10/08/2021, 2:43 PM
    any sugestions?
  • l

    late-house-1562

    10/12/2021, 4:14 AM
    How do I emulate path paremters in Cypress?
  • l

    late-house-1562

    10/12/2021, 12:09 PM
    It occurred to me that I could build the URL and that seems to work.
  • c

    chilly-soccer-83645

    10/13/2021, 2:04 PM
    Hi I am starting with cypress, wanted to know about the types of repostings that the tool itself have or what plugins Cypress is compatible with for this.?
  • a

    acoustic-baker-93651

    10/13/2021, 7:25 PM
    Hello, I'm having issue logging in to dashboard when running cypress on windows, no problem logging in on web, or Mac OS though, only issue with windows
  • m

    modern-king-58112

    10/14/2021, 3:03 PM
    Hello Guys! I'm experiencing a very weird thing in cypress. sometimes it seems cypress is caching the error. Let's say I have a locator error, failing. When I fix it, or I delete the entire problematic line, cypress is failing on the same point, however already fixed/deleted
  • m

    modern-king-58112

    10/14/2021, 3:04 PM
    sometimes the new method what I have just written is not available, cypress doesn't see the code. restart, reinstall/upgrade did not help
  • m

    modern-king-58112

    10/14/2021, 3:04 PM
    any recommendation? it's super weird!
  • s

    stale-branch-33244

    10/14/2021, 8:46 PM
    Hello all, I am trying to find a workable solution to conditionally calling
    .click()
    If the result of
    cy.get(…)
    finds a match. I have scoured docs Google, but all the suggestions I have found don’t work? Does anyone have a suggestion?
  • i

    important-river-75795

    10/15/2021, 6:55 AM
    @User https://docs.cypress.io/guides/core-concepts/conditional-testing
  • f

    fancy-airplane-60156

    10/17/2021, 3:10 AM
    Hi team, I'm trying to embed the screenshot into HTML report generated by Mocha-swesome-reporter using addContext command. When i debug the screenshot gets captured however it's not added to the HTML report.
  • f

    fancy-airplane-60156

    10/17/2021, 3:10 AM
    Cypress.on("test:after:run", (test, runnable) => { debugger; console.log('Test state is ' + test.state); if (test.state === "failed") { const screenshot =`assets/${Cypress.spec.name}/${runnable.parent.title} -- ${test.title} (failed).png`; addContext({ test }, screenshot); debugger; } else { const screenshot =`assets/${Cypress.spec.name}/${runnable.parent.title} -- ${test.title} (submissionpreview).png`; addContext({ test }, screenshot); debugger; } });
  • i

    important-river-75795

    10/17/2021, 1:50 PM
    Are you sure the screenshots are in /assets/specname?
  • i

    important-river-75795

    10/17/2021, 1:51 PM
    I have the same thing working fine for failed test cases
  • f

    fancy-airplane-60156

    10/17/2021, 10:17 PM
    hi @User Yeah. It works for me for failed test cases. Doesn't work for Passed. It's odd. When i debug it, screenshot variable has correct path set up. However it seems it doesn't get saved , hence it doesn't get added to the report
  • u

    user

    10/17/2021, 11:44 PM
    Hey folks. I try to write to test for email subscription. However, the test not pass every time that I run. It throw status 429 which is too many request. Does Cypress has any command to compensate this? I try to change the new email address every time that I submit but that seem not to be a problem. Thanks in advance guys!
  • i

    important-river-75795

    10/18/2021, 6:46 AM
    Well it doesn't take screenshots on passed test cases , why would you want them anyways? How will cypress know when to take it? At the start of the test case at the end, middle? I guess you can try to make cypress take a screenshot at the end of the case with hooks
  • i

    important-river-75795

    10/18/2021, 6:49 AM
    https://docs.cypress.io/api/cypress-api/screenshot-api#Syntax
  • s

    stocky-tomato-26046

    10/18/2021, 10:47 AM
    Hi folks, I tried to run e2e testing having around 5K test cases with 20 machines via aws codebuild. But for some reason the dashboard is not able to pick up the test run and because of that am not able to see either the test cases is passed or failed. But if I do the same with 300 test cases then am able to see the runs in the dashboard. Has anyone faced this kind of situation ?
  • f

    fancy-airplane-60156

    10/18/2021, 11:03 AM
    I've updated the code with if , else. If failed take the failed step screenshot else take the full screen shot and rename it as 'Submission preview'. This would go as an additional test articraft
  • g

    gentle-teacher-4885

    10/18/2021, 9:42 PM
    hi , I m having problem to use ssh command on cypress. Actually I m trying to send a file to remote desktop by cypress using ssh .
  • g

    gentle-teacher-4885

    10/18/2021, 9:42 PM
    could you please help me ?
  • t

    tall-area-9998

    10/20/2021, 11:49 AM
    Please I'm trying to test integrations (e2e with Cypress) in an application and I have a few challenges. 1) when I click on the button to connect to an integration (e.g Slack), this usually redirects however, it doesn't work while testing...I get this error Cypress detected a cross origin error happened on page load: > Blocked a frame with origin "http://localhost:4200" from accessing a cross-origin frame. Before the page load, you were bound to the origin policy: 2) how do i/ what scenarios can I test for in this sort of feature?
  • f

    fancy-airplane-60156

    10/20/2021, 12:07 PM
    I think it's recommended to just check if the hyperlink in the button is indeed the correct link. Integration is out of Cypress scope as far as I know.
  • t

    tall-area-9998

    10/20/2021, 12:41 PM
    Thanks
  • t

    tall-area-9998

    10/20/2021, 2:44 PM
    In my case, it's a function so I wanted to check that it was called. Just saw this article https://dev.to/julianobrasil/accessing-angular-components-methods-from-within-cypress-4imf but it didn't work
  • l

    limited-keyboard-75773

    10/20/2021, 4:11 PM
    Hello, Is there any resources on how to get started with API testing with Cypress & Swagger that you suggest? Including best practices, anti-patterns to avoid, potential pitfalls, packages to use, etc..?
  • f

    fancy-airplane-60156

    10/20/2021, 10:26 PM
    Hi @User It's something I'm also looking for. My cy.requests fail even though same cURL commands work.
  • f

    fancy-airplane-60156

    10/20/2021, 10:28 PM
    Thanks for providing this extra information. This is a different use case than I thought.
1...343536...252Latest