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

    powerful-journalist-49461

    11/30/2022, 2:39 PM
    I thought that Cypress Support is in channel "cypress-dashboard", sorry.
  • f

    fresh-doctor-14925

    11/30/2022, 2:41 PM
    Not necessarily. Sometimes you can find Cypress team members on here, but usually it's us volunteers ๐Ÿ™‚ Even though your question was better-placed in the other channel, I marked that one as a duplicate as you posted here first (and I answered on here)
  • m

    mysterious-belgium-25713

    11/30/2022, 3:03 PM
    I dont think its the dashboard. I think your company is not allowing the CI runner of github to access your company app. The dashboard is just for results and parallel running. The actual tests are still being run from the Github Runner
  • f

    fresh-doctor-14925

    11/30/2022, 4:21 PM
    @powerful-journalist-49461 , you could establish whether it's your CI or the dashboard by removing the
    parallel
    and
    record
    flags from your run command. Then it will be running on your CI without any Dashboard orchestration If the issue persists, it's your CI. Otherwise, your hunch is correct
  • p

    powerful-journalist-49461

    11/30/2022, 4:23 PM
    Ok doing it right now ๐Ÿ™‚
  • p

    powerful-journalist-49461

    11/30/2022, 4:31 PM
    Ok I have removed flags and record key (so my tests are running only on GitHub Action) but I still have the same problem > 403 forbidden
  • p

    powerful-journalist-49461

    11/30/2022, 4:39 PM
    So my company has some kind of firewall, which can recognise suspicion bot activities (obviously it is recognising GitHub action as "BOT"). Now I have to find the way to whitelist GitHub on some way, but I assume that they are changing/and using a lot of IP address ...so I'm not sure is there is any workaround for this....
  • m

    mysterious-belgium-25713

    11/30/2022, 5:32 PM
    I think you should ask your DevOps team to look at this page https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses
  • m

    mysterious-belgium-25713

    11/30/2022, 5:33 PM
    Or as alternative they should host internal runners. So you are on whitelisted ips. https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners
  • h

    handsome-army-58690

    11/30/2022, 6:53 PM
    Hi Guys, I'm not able to login to application through cypress , because our backend excepts 'origin' in request header, when I see the network call , I didn't see the 'origin' property, even when I set chromewebsecurity as false in config.js file. can anyone guide me where I'm doing wrong ?
  • f

    fresh-doctor-14925

    11/30/2022, 7:30 PM
    If your firewall can whitelist specific headers, you can also pass those every time using a very broad
    cy.intercept
    rule
  • g

    gray-caravan-70127

    11/30/2022, 7:53 PM
    Yes but, if I understood good, with self hosted runner I cannot perform parallel execution (on for eg. 5 machines), right? Btw this is the reason why I am doing this, to speed up processโ€ฆ
  • m

    mysterious-belgium-25713

    11/30/2022, 7:57 PM
    You can if you have a strong machine and everything runs in docker or you just have multiple self hosted runners. You are not limited to hosting 1.
  • w

    wide-exabyte-26689

    12/01/2022, 7:44 AM
    Hi is there any method to click on hidden elements in cypress. I have used invoke() and click({force: true}) but either of them did not worked. Has somebody faced similar issue or have any workaround. Please do let me know.
  • f

    fresh-doctor-14925

    12/01/2022, 8:13 AM
    Can we see a screenshot of the error message?
  • w

    wide-exabyte-26689

    12/01/2022, 8:40 AM
    Hi @fresh-doctor-14925 thanks for response I am getting following error Timed out retrying after 4050ms: cy.click() failed because this element is not visible: ... This element is not visible because its parent has CSS property: display: none Fix this problem, or use {force: true} to disable error checking.Learn more
    f
    • 2
    • 1
  • w

    wide-exabyte-26689

    12/01/2022, 8:44 AM
    Here is the screenshot for cypress
  • f

    fresh-doctor-14925

    12/01/2022, 8:50 AM
    Hi liambutler3995 thanks for response I
  • r

    rough-jordan-79228

    12/01/2022, 8:57 AM
    Hey community, How can i get more insights about what is Happening in the run Mode? Mostly my Tests are Failing in run Mode but in open Mode they run through without problems
    f
    • 2
    • 1
  • f

    fresh-doctor-14925

    12/01/2022, 9:10 AM
    Hey community
  • b

    brave-mouse-59640

    12/01/2022, 9:52 AM
    Hi, I
  • b

    brave-mouse-59640

    12/01/2022, 9:53 AM
    Hi All, I'm getting websocket connection error "WebSocket is closed before the connection is established."
  • b

    brave-mouse-59640

    12/01/2022, 9:54 AM
    After login to the application, it navigate to production url. So hence navigate to stage URL. At that time i am getting above socket connect error
  • b

    brave-mouse-59640

    12/01/2022, 9:55 AM
    does any one know how to resolve it ?
  • b

    brave-mouse-59640

    12/01/2022, 10:21 AM
    VM245 2.1fc033ba.chunk.js:2 WebSocket connection to 'wss://' failed: WebSocket is closed before the connection is established.
  • f

    fresh-doctor-14925

    12/01/2022, 10:24 AM
    !duplicate
  • n

    nutritious-analyst-96582

    12/01/2022, 10:24 AM
    Uh oh, It looks like you have posted the same question in multiple channels. Help us prevent spam by removing any duplicates of your questions, Thanks! ๐Ÿ˜€
  • p

    powerful-journalist-49461

    12/01/2022, 11:01 AM
    Just to let you know I resolved this problem. So my company has cloudfare protection which was recognising GitHub IPs as bot. So solution for this is to change link in visit for DNS content address and to add in header Host with the url of your site. cy.visit('Your_DNS_Content_Address', { headers: { Accept: 'application/json, text/plain, */*', Host: 'URL_of_your_site', 'User-Agent': 'axios/0.27.2', }, }); Regarding this: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses you will get more than 2000 IPs in response so it's not possible to be used...but if you want to try this is the way to do it
  • m

    mysterious-motherboard-13344

    12/01/2022, 2:35 PM
    Anyone has successfully implemented 2FA code authentication in Cypress?
  • t

    thankful-lock-39376

    12/01/2022, 2:36 PM
    hi Does Any one know how to get the download event header/body while running cypress for context pls look into the screenshot .End goal: I want to know the file name it downloads .
1...156157158...192Latest