https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • Hi How can I handle sso in cypress? Anyone who has an experience with it? Thanks
    i

    important-gold-44347

    04/06/2023, 11:53 AM
    Hi How can I handle sso in cypress? Anyone who has an experience with it? Thanks
  • Same way you handle normal login. Just make sure you wrap the redirected sites in cy.origin functions
    h

    helpful-country-95146

    04/06/2023, 1:46 PM
    Same way you handle normal login. Just make sure you wrap the redirected sites in cy.origin functions
  • You may also need to set up your clientCertificates in your config, depending on if your SSO needs it or not.
    h

    helpful-country-95146

    04/06/2023, 1:47 PM
    You may also need to set up your clientCertificates in your config, depending on if your SSO needs it or not.
  • Hello All, How to validate the PDF content using Cypress ???(Cypress-Javascript) Anyone did it in past, so could you please share the link, doc, or sample code for it.
    c

    colossal-table-38461

    04/07/2023, 7:21 AM
    Hello All, How to validate the PDF content using Cypress ???(Cypress-Javascript) Anyone did it in past, so could you please share the link, doc, or sample code for it.
  • Why does the pre-commit eslint hook finds this error: ```bash It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line cypress/unsafe-to-chain-command ``` for this line: ```js cy.get(`[data-cy='${chart.dataCy}']`).scrollIntoView().should("be.visible"); ``` but Cypress passes all the tests and doesn't care about that line ?
    g

    green-controller-97889

    04/07/2023, 1:06 PM
    Why does the pre-commit eslint hook finds this error:
    Copy code
    bash
    It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line  cypress/unsafe-to-chain-command
    for this line:
    Copy code
    js
    cy.get(`[data-cy='${chart.dataCy}']`).scrollIntoView().should("be.visible");
    but Cypress passes all the tests and doesn't care about that line ?
  • Hello All I am facing 1 issue related to Cypress Execution. Scenario : 1. I have create new Branch from Main branch 2. Opened the Cypress Runner 3. Trying to Execute 1 spec from Runner **Getting this error : "Error: ENOENT: no such file or directory, stat \\network path"** Node Version: V.18.13.0 Cypress Version: 12.8.1 Any Idea how to resolve it???
    c

    colossal-table-38461

    04/10/2023, 9:25 AM
    Hello All I am facing 1 issue related to Cypress Execution. Scenario : 1. I have create new Branch from Main branch 2. Opened the Cypress Runner 3. Trying to Execute 1 spec from Runner Getting this error : "Error: ENOENT: no such file or directory, stat \\network path" Node Version: V.18.13.0 Cypress Version: 12.8.1 Any Idea how to resolve it???
  • Hello All I am facing issue in gitlab ci. It throwing error with sh: 1: cypress: permission denied Does anybody know solution. It was working 4 days back.
    q

    quick-hydrogen-30269

    04/10/2023, 6:38 PM
    Hello All I am facing issue in gitlab ci. It throwing error with sh: 1: cypress: permission denied Does anybody know solution. It was working 4 days back.
  • Hello, if I want to start a Cypress project, which version do you recommend I work with? What would be the LTS version?
    p

    purple-shampoo-89307

    04/10/2023, 8:53 PM
    Hello, if I want to start a Cypress project, which version do you recommend I work with? What would be the LTS version?
  • Hello all, im facing some installation issues in Jenkins pipeline, that is laid out in here Appreciate if anyone have a clue on it https://discord.com/channels/755913899261296641/1093750880156790814
    a

    aloof-psychiatrist-45078

    04/12/2023, 7:49 AM
    Hello all, im facing some installation issues in Jenkins pipeline, that is laid out in here Appreciate if anyone have a clue on it https://discord.com/channels/755913899261296641/1093750880156790814
  • any way to change cypress config during runtime? (probably not)
    h

    helpful-country-95146

    04/12/2023, 1:25 PM
    any way to change cypress config during runtime? (probably not)
  • Easier question- is there a way to disable screenshots?
    h

    helpful-country-95146

    04/13/2023, 12:01 PM
    Easier question- is there a way to disable screenshots?
  • Hi <@1093168224369131571> If you mean `screenshotOnRunFailure` then see the config documentation https://docs.cypress.io/guides/references/configuration#Screenshots
    m

    many-airline-45402

    04/13/2023, 12:32 PM
    Hi @helpful-country-95146 If you mean
    screenshotOnRunFailure
    then see the config documentation https://docs.cypress.io/guides/references/configuration#Screenshots
  • just meant screenshots in general, even on success.
    h

    helpful-country-95146

    04/13/2023, 1:50 PM
    just meant screenshots in general, even on success.
  • e

    enough-truck-68085

    04/13/2023, 9:41 PM
    I don't think Cypress normally creates screenshots on success? Maybe I'm wrong about that though but that's not a behavior I'm familiar with. If you are referring to the pipeline, you can typically specify uploading artifacts only on failure, if it is uploading success artifacts. For instance, with gitlab this would be

    https://cdn.discordapp.com/attachments/763114122065739818/1096188537067540563/image.png▾

  • f

    flaky-napkin-28018

    04/14/2023, 2:32 AM
    Hi everyone I am new to the community so first I would like to thanks all of you for the further communication. I have a one question where I have blocked with my testing where I am uploading a large file that is of more than 1GB using the selectFile command and I am getting error can anyone please help me regarding the uploading of the large files using cypress ?
  • f

    flaky-napkin-28018

    04/14/2023, 2:34 AM
    For the further clarity I am using Cypress 12.7
  • p

    purple-ice-75399

    04/14/2023, 4:13 PM
    Is Cypress Cloud down for anyone else?
  • p

    purple-ice-75399

    04/14/2023, 4:14 PM

    https://cdn.discordapp.com/attachments/763114122065739818/1096468523552874556/image.png▾

  • b

    best-flower-17510

    04/14/2023, 4:15 PM
    I refreshed this page a couple times, doesn't seem to be - https://www.cypressstatus.com/ Edit: It looks like the team is currently investigating this to find a solution - https://www.cypressstatus.com/incidents/b1qdc3msj3xb @purple-ice-75399
  • p

    purple-ice-75399

    04/14/2023, 4:28 PM
    Thank you!
  • p

    powerful-orange-86819

    04/17/2023, 10:32 AM
    No new image has been added to cypress-docker-images for the past 5 months, both firefox and chrome are 5 versions ahead, also Edge got big native updates too
  • m

    many-airline-45402

    04/17/2023, 11:55 AM
    Hi @powerful-orange-86819 Could you give the URL where you are looking? On https://hub.docker.com/r/cypress/browsers/tags the last update was 3 days ago.
  • p

    powerful-orange-86819

    04/17/2023, 11:59 AM
    hmm i always check this one: https://github.com/cypress-io/cypress-docker-images/tree/master/browsers I'm pretty sure i got mine from the official documentation
  • m

    many-airline-45402

    04/17/2023, 12:03 PM
    Thanks for the explanation! Maybe you should open an issue in that repo? So it seems that new Docker images are getting published on the Docker hub, but they are not being listed on the URL which you gave.
  • p

    powerful-orange-86819

    04/17/2023, 12:06 PM
    I just checked their documentation, their urls are pointing to docker.com, but are empty, not the one you provided: and the one working is the github repo i had sitting in my bookmarks for over 2 years
  • i

    incalculable-honey-17833

    04/17/2023, 12:25 PM
    It might sounds off topic but, I'm really impress how you did your onboarding on this discord server. (Differents questions to setup roles) Is it a discord feature or a bot? :o
  • f

    flaky-napkin-28018

    04/17/2023, 12:25 PM
    Anyone know about this https://discord.com/channels/755913899261296641/763114122065739818/1096261701118218390
  • f

    flaky-napkin-28018

    04/17/2023, 12:26 PM
    Please help if anyone has a clue about this.
  • a

    acceptable-family-97943

    04/17/2023, 12:33 PM
    Once again, I'll have to ask the community's help for this. Started looking into component testing today (Angular) and I'm struggling with loading in my SCSS styles.
  • a

    adorable-smartphone-87280

    04/17/2023, 1:41 PM
    Looks like a hard limitation on the
    .selectFile()
    implementation in Chrome. Your test might work in Electron. https://github.com/cypress-io/cypress/issues/24583
1...120121122...127Latest