https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • s

    strong-kangaroo-46309

    06/30/2022, 8:57 AM
    @fresh-doctor-14925 yes it is. However the iframe is not added to the DOM at all. Some JavaScript code needs to be executed before by Confluence in order to add the iframe... This part in not happening for some reason
  • f

    fresh-doctor-14925

    06/30/2022, 8:59 AM
    did you read the doc I linked to? That explains the limitation and some potential workarounds
  • s

    strong-kangaroo-46309

    06/30/2022, 9:01 AM
    @fresh-doctor-14925 I have. I have disabled the chrome security but nothing changed. I also have updated my answer to give some more context
  • f

    fresh-doctor-14925

    06/30/2022, 10:09 AM
    The truth of the matter is that Cypress currently struggles with cross-origin iframes. It may not be the best fit for your use case As @magnificent-finland-58048 said in the other channel, without a repo to reproduce, there's not much more we can do to help
  • s

    strong-kangaroo-46309

    06/30/2022, 10:19 AM
    @fresh-doctor-14925 I understand. Unfortunately, I cannot provide you with this, however, there are other ways you could reproduce this issues. 1. Create a confluence cloud instance. This can be done easily here: http://go.atlassian.com/cloud-dev and it's free 2. Install SubSpace from marketplace. It is free for up to 10 users 3. After installing the app a new navigation bar should be visible in your browser. 4. Try to run a simple test with cypress. You can just add the login steps and it will be enough to test this behavior. it looks like a long process but does not take more than 5-10 minutes to set everything up
  • f

    fresh-doctor-14925

    06/30/2022, 10:33 AM
    Yeah I'm a volunteer on here. I'm not going to be doing all that for an edge case. Best of luck with it
  • f

    fresh-doctor-14925

    06/30/2022, 10:39 AM
    If you're keen to have Cypress on your project as opposed to one of the other runners out there (eg Playwright, Selenium), you may wish to consider a paid plan with dedicated email support. They can spend time digging into the issue with you https://www.cypress.io/pricing/ There are more questions than answers here, so unfortunately us volunteers have to pick and choose where we can help
  • s

    strong-kangaroo-46309

    06/30/2022, 10:41 AM
    @fresh-doctor-14925 That is understandable. This was just to check if someone had any idea or had experienced this before
  • f

    fresh-doctor-14925

    06/30/2022, 10:43 AM
    Not one I've seen before, I'm afraid. Other than the common cross-origin iframe issue
  • m

    magnificent-finland-58048

    06/30/2022, 10:43 AM
    you have to do that with a dummy email from protonMail, which you can share, then create a repo using all those credential, to make it effortless for those who are trying to help you it is really the same process when you enter an issue. You have to go 200%, short of fixing the defect yourself, and make it effortless for the developers to take on the defect
  • a

    agreeable-painting-90494

    06/30/2022, 1:44 PM
    Does anyone see any difference in the results between Chrome and Electron? Is Electron any quicker / memory efficient on a CI run?
  • a

    agreeable-painting-90494

    06/30/2022, 1:44 PM
    We've mostly been using Chrome, but I'm wondering if Electron would be the better
  • b

    bumpy-library-92619

    06/30/2022, 1:51 PM
    We have a beforeeach method in each test case and inside we currently have only 3 intercept methods, which will increase over time. My question is, how can I solve something like this better ?
  • a

    agreeable-painting-90494

    06/30/2022, 1:55 PM
    you could use a foreach to reduce a bit of duplication.
    errorHosts.forEach(hostname => cy.intercept({hostname}, {statusCode: 503});
    where errorHosts is an array ['host1.com', 'host2.com, ...]
  • b

    bumpy-library-92619

    06/30/2022, 2:06 PM
    Thanks for your solution! but its still not clear for me where to create this array errorHosts?
    a
    • 2
    • 5
  • m

    magnificent-finland-58048

    06/30/2022, 2:28 PM
    you could just try it yourself... what do your users use the most? test with that electron has an issue at the moment https://github.com/cypress-io/cypress/issues/17627#issuecomment-1149275229
  • a

    acceptable-solstice-90676

    06/30/2022, 7:58 PM
    hey guys, I keep getting this error when running my test on AWS
    Copy code
    [1121:0630/184532.427060:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for streaming.split.io failed:
    ----- Certificate i=0 (OU=Cypress Proxy Server Certificate,O=Cypress Proxy CA,L=Internet,ST=Internet,C=Internet,CN=streaming.split.io) -----
    ERROR: No matching issuer found
    any advice?
  • a

    acceptable-solstice-90676

    06/30/2022, 7:59 PM
    I do not think it is a code issue, I think it is something else, and it only happens on AWS
  • h

    hundreds-spoon-43121

    06/30/2022, 11:05 PM
    Anyone can help me with this?
  • a

    acoustic-jewelry-82423

    07/01/2022, 5:56 AM
    hello supporters, I am using cypress 10.3.0 . I think below code in index.js is not working. import './commands'; Cypress.on('uncaught:exception', (err, runnable) => { return false; });
  • a

    acoustic-jewelry-82423

    07/01/2022, 5:57 AM
    Can anyone help me
  • f

    fresh-doctor-14925

    07/01/2022, 7:33 AM
    The code in your function is calling
    cy.once
    , not`cy.on`
  • f

    fresh-doctor-14925

    07/01/2022, 8:29 AM
    Cypress runs in the browser itself, so closing the tab would also close Cypress. I'm not sure that your current approach is feasible
  • p

    purple-kilobyte-85592

    07/01/2022, 1:34 PM
    Is there any way to block SearchSpring API for plp ?
  • b

    better-tomato-32700

    07/01/2022, 2:40 PM
    Heyy guys - Good day
  • b

    better-tomato-32700

    07/01/2022, 2:40 PM
    Is anyone here familiar with the Cypress-Metamask framework ?
  • b

    better-tomato-32700

    07/01/2022, 2:40 PM
    This one:
  • b

    better-tomato-32700

    07/01/2022, 2:40 PM
    https://github.com/CraftAcademyLabs/cypress-metamask
  • a

    able-monkey-72947

    07/01/2022, 4:47 PM
    Quick question - is there a way to run a custom server via the config file the e2e tests? I see in the docs how to do this for component tests, is that the only place it works? https://docs.cypress.io/guides/references/configuration#blockHosts
  • d

    dazzling-salesclerk-15570

    07/01/2022, 5:42 PM
    hi guys, just checking if we still can't use custom commands inside cy.origin?
1...626364...192Latest