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

    dry-table-21937

    08/08/2022, 3:22 PM
    we have an error with cypress e2e runs on github actions it involves peer-dependency with npm packages everything (servers and e2e) works fine locally
  • a

    adamant-journalist-98268

    08/08/2022, 3:41 PM
    We are experiencing some issues where tests timeout and do not finish, but it happens very intermittently. Running locally, things pass pretty much 100% of the time, but on CI things get flaky and there are random failures all the time. Eventually CI times out after 2 hours and the test never completes. Does anyone have any tips on how to troubleshoot what might be happening? Since it times out, we don't have any videos or screenshots that get uploaded, and locally everything works.
    Copy code
    The run started, but never completed. This can happen when the run is canceled from CI or when Cypress crashes during running tests.
    Check your Bitbucket #1414 logs for more information. Archive this run to remove it from the runs list and analytics.
  • g

    gentle-dress-1046

    08/08/2022, 4:02 PM
    hi, We are running our tests from azure pipeline and cypress dashboard, recently the test videos that's being upload to cypress dashboard are broken and laggly, does anyone familiar with this problem?
  • h

    helpful-truck-53930

    08/08/2022, 5:44 PM
    Thank you. The solution was helpfully.
  • f

    fast-balloon-48393

    08/08/2022, 6:02 PM
    Hello Everyone. I am using Cypress on Rails for automating the application. Browser is crashed and display this screen. when i can watch logs debug this issue? Any leads will be great!
  • f

    fast-ocean-24805

    08/08/2022, 6:40 PM
    @lemon-oyster-64925
  • l

    lemon-oyster-64925

    08/08/2022, 7:02 PM
    Hi @fast-ocean-24805 ! I wish I could provide some specific support here but I do not have that information. You can post again here in this channel or utilize our other user resources. Thanks for your support of Cypress!
  • f

    fast-ocean-24805

    08/08/2022, 8:05 PM
    Who controls or is responsible for updating the SSL cert used by cypress?
  • a

    alert-machine-64990

    08/08/2022, 8:36 PM
    has anyone found a way to resolve the Webpack Compilation Error? seem like it happens with any 'fs'
  • a

    alert-machine-64990

    08/08/2022, 8:45 PM
    has anyone found a way to resolve the Webpack Compilation Error? seem like it happens with any 'fs'
  • f

    flaky-airplane-33826

    08/09/2022, 6:12 AM
    Thread
  • h

    happy-dinner-13480

    08/09/2022, 8:13 AM
    I want to set a variable (for the URL to our back-end) , what's the best place to do that? It's not really an env variable, just more a global cypress variable
  • f

    fierce-lion-2381

    08/09/2022, 8:25 AM
    @happy-dinner-13480 do you think baseURL?
  • h

    happy-dinner-13480

    08/09/2022, 8:44 AM
    No, the
    baseUrl
    points to
    localhost:4200
    , the URL of the client 🙂 so I need another variable to point to the back-end
  • f

    fierce-lion-2381

    08/09/2022, 8:48 AM
    @happy-dinner-13480 so you mean endpoints? E. g. localhost:4200/something/something
  • h

    happy-dinner-13480

    08/09/2022, 8:49 AM
    No, currently I have the API_URL configured in my
    cypress.env.json
    file:
    Copy code
    {
      "API_URL": "https://api-test.***.com"
    }
    but I would rather have it somewhere else, since it's not a secret. I use it like so:
    Copy code
    cy.intercept({ method: 'POST', url: `${Cypress.env('API_URL')}/api/v1/user/login` }).as('login');
  • f

    fresh-doctor-14925

    08/09/2022, 8:53 AM
    You could have it as an environment variable and map it to
    Cypress.env
    https://discord.com/channels/755913899261296641/763105090679865354/986198337873129493
  • h

    happy-dinner-13480

    08/09/2022, 8:53 AM
    found it:
    Copy code
    e2e: {
            env: {
                API_URL: 'https://api-test.***.com',
            },
    }
  • h

    happy-dinner-13480

    08/09/2022, 8:53 AM
    ah that's also cool 🙂
  • f

    fierce-lion-2381

    08/09/2022, 8:57 AM
    @happy-dinner-13480 Whats the diff between defining env in config file and in cypress.env.json
  • f

    fierce-lion-2381

    08/09/2022, 8:57 AM
    It should be called exactly the same way with Cypress.env
  • l

    loud-city-40050

    08/09/2022, 8:57 AM
    Hi Team! Has anyone got a professional testing plan template I could use?
  • h

    happy-dinner-13480

    08/09/2022, 8:57 AM
    i would consider the
    cypress.env.json
    file to hold secrets like usernames and passwords, which this value isnt 🙂
  • h

    happy-dinner-13480

    08/09/2022, 9:43 AM
    is it possible to override the
    clearLocalStorage
    command to not remove anything from localstorage?
  • b

    boundless-wall-32593

    08/09/2022, 11:48 AM
    Hi. Can anyone recommend some resources that provide a deeper explanation of how Cypress works under the hood? Technical details, high-level architecture, etc...
  • p

    polite-alarm-78904

    08/09/2022, 1:24 PM
    I'm trying to set up a github action to run some tests, but I get this error. Can someone explain what is going on here? --force or --legacy-peer-deps doesn't do anything
  • s

    stale-optician-85950

    08/09/2022, 1:44 PM
    An issue with node-sass package dependencies. Ensure all your project packages are up to date, as it seems one package that has dependencies has a conflicting version. In summary, nothing to do with Cypress by the looks of it.
  • s

    square-pager-46841

    08/09/2022, 6:35 PM
    Hello
  • s

    square-pager-46841

    08/09/2022, 6:35 PM
    I have an exact case like the one in Cypress docs
  • s

    square-pager-46841

    08/09/2022, 6:36 PM
    However, it is not selecting the option I want
1...124125126...252Latest