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

    sparse-insurance-21987

    05/18/2022, 7:23 AM
    which cypress version are you using?
  • m

    mysterious-motherboard-13344

    05/18/2022, 7:23 AM
    9.6.1
  • b

    broad-petabyte-21909

    05/18/2022, 9:15 AM
    Hi, when I run ng serve in my Angular project it works just fine and everything in the login screen gets displayed, but when I cy.visit localhost:4200 it gives me a "Failed to load resource: the server responded with a status of 499 (Request has been forbidden by antivirus)" error. I tried disabling Kaspersky and Windows Defender but it still didn't work. Any help is much appreciated
  • r

    rough-umbrella-58127

    05/18/2022, 12:19 PM
    Hi there, currently I upgrade Cypress to 9.6.1 to test cy.origin, but I got the following error for the custom reporter. Any help is much appreciated.
  • s

    stale-leather-27174

    05/18/2022, 12:26 PM
    I have a problem, someone could help me? 🙂 https://stackoverflow.com/questions/72270180/run-cypress-on-linux-machine-using-gitlab-runner
  • m

    mysterious-motherboard-13344

    05/18/2022, 2:23 PM
    I am trying to migrate existing tests after upgrading to 9.6.1 cypress version. And I found that before trying with cy.origin command, this code was working fine. But it is giving me below error when trying to execute inside cy.origin block.
  • m

    mysterious-motherboard-13344

    05/18/2022, 2:23 PM
    Copy code
    cy.visit(clickableLink).should(($a) => {
                                    expect($a.attr('target'), 'target').to.equal('_blank');
                                    $a.attr('target', '_self');
                                });
  • m

    mysterious-motherboard-13344

    05/18/2022, 2:24 PM
    error is as below:
  • m

    mysterious-daybreak-76712

    05/18/2022, 3:27 PM
    Unfortunately, I don't quite understand why the intercepter doesn't find a match here.
    cy.intercept('/github**').
    The complete url has a query parameter
    rederict_url=https://
    ..... as soon as I specify this query parameter rederict_url, it finds the match. Is this a problem and how to work around it. Same for that:
    /github?rederict_url=*'
    is no match.
    /github?rederict_url=https....
    is a match
  • a

    aloof-lifeguard-45424

    05/18/2022, 3:33 PM
    Ok, so I have finally identified the problem. Turning off the Network Threat Protection setting in Sophos antivirus solved the problem. Seem like Sophos is fixing it in the next update, but I have not checked that myself.
  • c

    calm-hydrogen-37718

    05/18/2022, 3:48 PM
    I am getting the same issue have you found a solution?
  • c

    calm-hydrogen-37718

    05/18/2022, 4:18 PM
    @gray-kilobyte-89541 Can you Please help me out from this situation? I was using Version 9.2.0 then I saw there is an update and I should install the latest version but as I installed the new version 9.6.1 then I faced this Issue.....After clicking on test file....the tests are not executing and I am getting this issue.
  • s

    swift-wall-90761

    05/18/2022, 4:32 PM
    Hi all, I'm stuck at iframes. How we handle single and multiple iframes. Can anyone help me out? Attaching the iframe screenshot (using a testing stripe card)
  • c

    calm-hydrogen-37718

    05/18/2022, 4:59 PM
    You are lucky enough the stripe screen is loading.....In my case screen is not loading.
  • g

    gray-kilobyte-89541

    05/18/2022, 4:59 PM
    do not use cypress-dark plugin?
  • c

    calm-hydrogen-37718

    05/18/2022, 5:01 PM
    @gray-kilobyte-89541 Thanks man it worked...thank you so much
  • c

    calm-hydrogen-37718

    05/18/2022, 5:01 PM
    But why dark mode is not working with 9.4.1.....I was using in 9.2.0....and it didn't behave like this....
  • m

    many-wall-1269

    05/18/2022, 5:18 PM
    When a test spec fails, the report after the suite summarizes the the failures on the console. It will list each spec that failed, the exception, and prints bit of the DOM when the test failed. I believe this is all out of the box for cypress. My question is how can I increase the amount of the DOM that is logged to the console when a spec fails? The issue I'm having is sometimes a test fails on CI pipeline that isn't reproducible on a desktop or in the GUI app. So we're left with just what is printed out on the console to aid in debugging the issue. Being able to see the full DOM would be helpful in these cases.
  • m

    millions-planet-75421

    05/18/2022, 5:53 PM
    Hello everyone I could really use some help figuring this out. I am trying to get this plugin working https://github.com/uktrade/cypress-image-diff. I believe I have installed it correctly, but can't figure out why it will not let me run the command the plugin adds. I get this error every time I attempt to run the command.
  • s

    swift-wall-90761

    05/18/2022, 6:12 PM
    This is not a stripe screen!
  • g

    gray-kilobyte-89541

    05/18/2022, 6:48 PM
    We use my https://github.com/bahmutov/cyclope#save-the-failed-page to save the entire static page at the failure on CI, and then open it to see how everything looked
  • e

    echoing-actor-29720

    05/18/2022, 8:18 PM
    Hi everyone, my issue is that cypress console not opening in browser when I start ‘npx cypress open’. The browser is triggering but don’t see the console on the left side. Only works If I delete ‘View App Data’ folder each time. Cypress Version: 9.6.1 Chrome version: 101.0
  • t

    thousands-caravan-17129

    05/18/2022, 8:28 PM
    Hi, regarding cypress dashboard. Is there a ip range we can whitelist so the runner could access webpages that are not open to the public internet? I don't wish to host self managed runner, but to use cypress dashboard managed runners. Something like this, only for cypress dashboard: https://www.browserstack.com/local-testing/inbound-ip-whitelisting
  • w

    wonderful-author-91008

    05/19/2022, 3:20 AM
    Hi Everyone, Need a way to assert network call , in my case I am validating the network call on failure and on success, I click the button and it fails and I do some other stuff and click button and now response is successful , but cypress always get the 1st request, and when I validate successful response it returns failure as cypress is still looking at request 1. Any help with this be appreciated @gray-kilobyte-89541 @nutritious-restaurant-91514
  • f

    future-eye-56254

    05/19/2022, 4:22 AM
    Is there a config that I need to enable to get the test runner to display snapshots
  • c

    calm-hydrogen-37718

    05/19/2022, 7:20 AM
    Hi Everyone There is a Stripe Screen which is not loading in cypress chrome window.....I did struggle whole week but I can't found any solution that....why the screen is not loading in cypress.....If you go to the that particular screen without Cypress.....then screen loads successfully.....I record a video...you can see in it. Also, I am attaching both SC with and without cypress https://www.loom.com/share/12f7c43db60246fdb5806454da60927e
  • s

    swift-wall-90761

    05/19/2022, 8:13 AM
    https://github.com/cypress-io/cypress/issues/136
  • c

    calm-hydrogen-37718

    05/19/2022, 9:14 AM
    @swift-wall-90761 did you get same issue ever? Because the issue is not this that I can't get iframes elements.....the issue is screen doesn't load.....
  • g

    gray-kilobyte-89541

    05/19/2022, 10:38 AM
    if you want to validate anything related to network, take my course "Cypress Network Testing Exercises" https://cypress.tips/courses
  • b

    blue-bird-1589

    05/19/2022, 11:52 AM
    hey guys, I'm trying to open a link in the same tab using cypress I tired using cy.get('a').eq(0).invoke('removeAttr', 'target').click() but it didn't work. after checking the HTML file I saw that there is no target=_blank att on the href I cant understand why its opening on a new window and how to prevent it using cypress.
1...666768...252Latest