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

    chilly-telephone-39196

    08/23/2022, 4:43 PM
    version 10.6.0 and also seen on 10.3.0
  • c

    chilly-telephone-39196

    08/23/2022, 4:44 PM
    clear the app data helps for about one run, where it loads tests in about 3 seconds then the second run its back to minutes
  • g

    gentle-dress-1046

    08/23/2022, 5:01 PM
    I think this will throw an error because you cant run cypress comannds in the
    onBeforeLoad
    function
  • a

    abundant-hydrogen-26466

    08/23/2022, 5:27 PM
    ah, I didn't see your context & I don't have much experience with
    onBeforeLoad
    and it's limitations. My hunch still is though that your issue lies with referencing the wrong
    window
    object
  • f

    flaky-intern-13440

    08/23/2022, 5:34 PM
    Hello everyone. Is anyone is able to help us with my problem I described above, please? https://discord.com/channels/755913899261296641/763105090679865354/1010356562419777618
  • g

    gentle-dress-1046

    08/23/2022, 8:02 PM
    ok thanks man! I will check this out
  • q

    quiet-breakfast-31238

    08/23/2022, 10:12 PM
    Hi everyone. I've just updated Cypress to 10.6 and Cypress doesn't show my tests but it founds 2 files. Who can please help me?
  • g

    gray-thailand-88120

    08/23/2022, 11:31 PM
    hello, it appears that downloading cypress assets is returning a 530 e.g. https://download.cypress.io/desktop/10.3.1?platform=linux&arch=x64 is this the right place to report that?
  • u

    user

    08/23/2022, 11:45 PM
    Looks like they're investigating https://www.cypressstatus.com/
  • g

    gray-thailand-88120

    08/23/2022, 11:46 PM
    sweet! thanks
  • g

    gray-thailand-88120

    08/23/2022, 11:46 PM
    I mean, not sweet its down, but glad they are aware...
  • p

    purple-afternoon-2408

    08/23/2022, 11:55 PM
    @here https://download.cypress.io/desktop/10.3.1?platform=linux&arch=x64 is down which is affecting our pipelines during
    yarn install
  • c

    cuddly-alligator-98427

    08/24/2022, 12:01 AM
    Do we have any update about Error 1016? @here
  • g

    gray-thailand-88120

    08/24/2022, 12:23 AM
    hey folks, this is tracked on their status page. you can follow there for updates https://www.cypressstatus.com/
  • f

    fast-balloon-48393

    08/24/2022, 3:56 AM
    Reiterating the thread , as it is removed in angular group and ask to take it to generic help section. Can you please some tell about, the CPU & memory required to run the long running cypress test cases. I understand that, minimum required for long running test case is 8 GB but, i want to understand some realistic numbers what people using here? reference links : https://docs.cypress.io/guides/getting-started/installing-cypress#Hardware
  • g

    gray-potato-52155

    08/24/2022, 4:45 AM
    Hi any limit to the number to test cases that can be created in Cypress-Open-Source Version?@here
  • f

    fresh-doctor-14925

    08/24/2022, 5:37 AM
    Please don't use
    @here
    to bring attention to your question There is no limit to the number of test cases that can be created in Cypress. However, you won't be able to run them in parallel without orchestration, such as what the paid Cypress Dashboard plan provides https://www.cypress.io/dashboard/
  • s

    some-family-74013

    08/24/2022, 5:43 AM
    Hi every one. I am fresh in cypress please any one can tell how is to select an item from list I need to select "main category" item automated in cypress tool. please how is?
  • a

    acceptable-hamburger-48790

    08/24/2022, 7:58 AM
    that looks like a select drop down - Have a read on https://docs.cypress.io/api/commands/select
  • n

    numerous-nail-45115

    08/24/2022, 8:19 AM
    Hi
  • q

    quiet-breakfast-31238

    08/24/2022, 8:57 AM
    Who can help? Maybe somebody had this issue?
  • s

    stale-optician-85950

    08/24/2022, 10:19 AM
    You should paste the contents of your
    cypress.config.ts
    (or .js) file here to give people more of a chance to help you.
  • i

    important-fireman-17295

    08/24/2022, 1:01 PM
    Hello, everyone. I am trying to simulate logging into a Google Account but I am already having issues just loading the login page. This is my code and I'm getting this error (https://imgur.com/a/DqZdvuc)
    Copy code
    cy.origin('https://accounts.google.com', () => {
      cy.visit('/servicelogin')
    })
    Any advise?
  • s

    straight-chef-47891

    08/24/2022, 1:41 PM
    Hi all, How can I use switch between different environments using the new cypress.config.js in Cypress 10x? I used to have json files under my config folder containing variables for different environments. For example:
    local.env.json
    would contain:
    Copy code
    json
    {
    "baseUrl": "localhost:8080"
    }
    then another one called
    uat.env.json
    would contain:
    Copy code
    json
    {
    "baseUrl": "https://uat.test.com"
    }
    and its configured on my
    plugins/index.ts
    as:
    Copy code
    javascript
        const version = config.env.version || 'uat'; // if version is not defined, default to this stable environment
        config.env = require(`../../config/${version}.env.json`);  // load env from json
    I will then call it on my tests with
    cy.visit(Cypress.env().baseUrl))
    then pass it on the CI with
    CYPRESS_VERSION=uat npx cypress run
    However, with the new Cypress 10x version, the plugin file has been deprecated and just relies on
    cypress.config.js
    . I can't find any example on their documentation on how this can be done (I remember they used to have a page with these scenarios but can't find it now).
  • m

    melodic-egg-83620

    08/24/2022, 2:30 PM
    How do you get Cypress, using Webpack internally, to compile
    import.meta.env
    into
    process.env
    when using Vite instead of webpack for your project bundler? I can't run any E2E tests because Cypress fails to read any
    import.meta.env
    ENV variables and believes it's a syntax error.
  • f

    few-telephone-44543

    08/24/2022, 2:51 PM
    Hi guys, I have a question about the Verification process when first running Cypress (after a fresh installation). Probably due to my client's security settings, the verification process fails on all developer laptops (Windows). I know I can bypass this by changing the timeout in the node_modules folder. If I set
    VERIFY_TEST_RUNNER_TIMEOUT_MS
    to 100000 ms, it works. However, I would prefer to set the environment variable in our application configuration (or system or session configuration) so all other developers and testers don't have to worry about it and fix it themselves. I have tried setting it in my Cypress.config, but the variable is not picked up. I have set it in my terminal session, but no luck either. After that, I set it as system environment variable, but I am still getting the same timeout, which is 30000 ms. So from what I conclude is that Cypress doesn't look anywhere else besides the node_modules folder. It feels like this is an issue and not desired behavior, but I am not 100% sure. Does anyone else have experience with this? 🙂
  • i

    icy-television-77938

    08/24/2022, 2:54 PM
    Hello my name is Ambrose. I have been using cypress to automate my application. I recently ran into and issue. I was automating an application that was on the dev environment that required a password to access . I was able to access the application manually, but when it comes time to automate the application on cypress. Cypress stated that it can not access the application giving the URL for the Dev environment. My question is, what approach should I take to solve this issue, working in the Dev environment. What syntax can i write to enable cypress to go through the password face in order to access into the application ?
  • i

    icy-television-77938

    08/24/2022, 2:54 PM
    This an example of what i am dealing with.
  • f

    fresh-doctor-14925

    08/24/2022, 3:10 PM
    Ambrose, I answered this in #961325024114008064 where you posted this earlier. Please do not post questions in multiple channels
  • i

    icy-television-77938

    08/24/2022, 3:13 PM
    Thanks Liam, Sorry i didn't know where to ask the the question, they so many option to pick from
1...134135136...252Latest