https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • Can anyone help me with this
    s

    sticky-energy-17458

    03/30/2023, 3:35 PM
    Can anyone help me with this
  • Hi <@881811132543815680> You can find some information in https://discord.com/channels/755913899261296641/763097415896268840 about how to get help. Posting a literal screenshot is mostly not enough. You need to say what you are doing, for instance what instructions you carried out, and what you expected to happen. It looks like it is to do with Circle CI, so you might try starting with the documentation on https://docs.cypress.io/guides/continuous-integration/circleci.
    m

    many-airline-45402

    03/30/2023, 3:45 PM
    Hi @sticky-energy-17458 You can find some information in https://discord.com/channels/755913899261296641/763097415896268840 about how to get help. Posting a literal screenshot is mostly not enough. You need to say what you are doing, for instance what instructions you carried out, and what you expected to happen. It looks like it is to do with Circle CI, so you might try starting with the documentation on https://docs.cypress.io/guides/continuous-integration/circleci.
  • For those that are interested, Cypress has a few open roles - https://discord.com/channels/755913899261296641/1091108714578198588
    b

    best-flower-17510

    03/30/2023, 9:17 PM
    For those that are interested, Cypress has a few open roles - https://discord.com/channels/755913899261296641/1091108714578198588
  • <@881811132543815680> It seems that there are currently issues with CircleCI. See https://github.com/cypress-io/circleci-orb/issues/418. Also CircleCI on https://github.com/cypress-io/cypress-example-kitchensink is failing.
    m

    many-airline-45402

    03/31/2023, 6:24 AM
    @sticky-energy-17458 It seems that there are currently issues with CircleCI. See https://github.com/cypress-io/circleci-orb/issues/418. Also CircleCI on https://github.com/cypress-io/cypress-example-kitchensink is failing.
  • Hello All, How to enable cookies in Cypress? earlier its working as expected but from today it showing this error.
    c

    colossal-table-38461

    03/31/2023, 7:01 AM
    Hello All, How to enable cookies in Cypress? earlier its working as expected but from today it showing this error.

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

  • Hello, do you know if @After tag (cucumber) is launched if a test fail ?
    b

    bumpy-insurance-8581

    03/31/2023, 8:19 AM
    Hello, do you know if @After tag (cucumber) is launched if a test fail ?
  • I am performing visual testing on website through image-difference and cypress plugin snapshot which is fine if we are just focusing on the look and feel of the website but if i want to validate the text in the button then its not helpful.
    s

    sticky-energy-17458

    03/31/2023, 8:46 PM
    I am performing visual testing on website through image-difference and cypress plugin snapshot which is fine if we are just focusing on the look and feel of the website but if i want to validate the text in the button then its not helpful.
  • Hi all. I have cy.task() to download file from link on my page and then to test data inside it. However I got another case in which file downloading is triggered by clicking on button with opening of new tab. I don't need Cypress to open this window, all I need is the link that I'll use in the already existing cy.task(). How do I implement this. I'd appreciate any help.
    b

    bright-house-86075

    04/02/2023, 2:44 AM
    Hi all. I have cy.task() to download file from link on my page and then to test data inside it. However I got another case in which file downloading is triggered by clicking on button with opening of new tab. I don't need Cypress to open this window, all I need is the link that I'll use in the already existing cy.task(). How do I implement this. I'd appreciate any help.
  • Hi, is it a common practice to use async/await in Cypress? What use case do you apply it?
    b

    bored-baker-20372

    04/03/2023, 1:58 AM
    Hi, is it a common practice to use async/await in Cypress? What use case do you apply it?
  • .then is useful as a waiting strategy but it has some nuance to it that can be a bit confusion.
    a

    adorable-smartphone-87280

    04/03/2023, 2:40 AM
    .then is useful as a waiting strategy but it has some nuance to it that can be a bit confusion.
  • Thanks for the insight. I'm having a bit of difficulty trying to understand synchronous concepts let alone applying it to Cypress.
    b

    bored-baker-20372

    04/03/2023, 2:46 AM
    Thanks for the insight. I'm having a bit of difficulty trying to understand synchronous concepts let alone applying it to Cypress.
  • Hey all, we're working on getting code coverage up and running for our apps (Next.js/TS apps, in an Nx monorepo), and I was wondering if anybody has any examples/tips of how they accomplished this? All the Next examples I can find seem to be using Babel, and I was hoping there was some guidance on how to get this up and running for an app using SWC as the build tool
    f

    future-salesmen-48792

    04/03/2023, 5:57 PM
    Hey all, we're working on getting code coverage up and running for our apps (Next.js/TS apps, in an Nx monorepo), and I was wondering if anybody has any examples/tips of how they accomplished this? All the Next examples I can find seem to be using Babel, and I was hoping there was some guidance on how to get this up and running for an app using SWC as the build tool
  • Hey, is there any way to change the title? with no commiting with github? "No commit message available" im just runing "npx cypress run --record --key....." and the result in dashboard is "No commit message available" 😦
    s

    swift-kitchen-62493

    04/04/2023, 10:43 AM
    Hey, is there any way to change the title? with no commiting with github? "No commit message available" im just runing "npx cypress run --record --key....." and the result in dashboard is "No commit message available" 😦

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

  • i'm usung command "npx cypress run --record --key 123123 --browser chrome --spec "cypress/e2e/..." is there something to add, to change the title?
    s

    swift-kitchen-62493

    04/04/2023, 11:47 AM
    i'm usung command "npx cypress run --record --key 123123 --browser chrome --spec "cypress/e2e/..." is there something to add, to change the title?
  • solution: you need to add --tag "title"
    s

    swift-kitchen-62493

    04/04/2023, 11:56 AM
    solution: you need to add --tag "title"
  • 😄
    s

    swift-kitchen-62493

    04/04/2023, 11:56 AM
    😄
  • Does anyone here test emails with Nodemailer? It has been erroring out lately and I'm curious if others have been experiencing the same. Maybe there's a service interruption somewhere? > backend:request failed to receive a response from the primary Cypress spec bridge Already ruled this stuff out: - Able to connect to ethereal.email's IMAP port - Tried rolling back to the earliest Cypress 12 version - Tried different browsers
    l

    late-planet-4481

    04/04/2023, 8:32 PM
    Does anyone here test emails with Nodemailer? It has been erroring out lately and I'm curious if others have been experiencing the same. Maybe there's a service interruption somewhere? > backend:request failed to receive a response from the primary Cypress spec bridge Already ruled this stuff out: - Able to connect to ethereal.email's IMAP port - Tried rolling back to the earliest Cypress 12 version - Tried different browsers
  • I want help in testing accessing the warning dialogue box that populates when we go away from the browser window ,(close or go back) and when user , reloads or traverses back in the chrome browser
    a

    ambitious-monkey-72386

    04/05/2023, 1:04 AM
    I want help in testing accessing the warning dialogue box that populates when we go away from the browser window ,(close or go back) and when user , reloads or traverses back in the chrome browser
  • Any hep anybody please
    a

    ambitious-monkey-72386

    04/05/2023, 1:04 AM
    Any hep anybody please
  • hello 🙂 I'd like to know if it's possible to change the timezone environment variable in a single test as it's in the docs, like this: ```js // change environment variable for single suite of tests describe( 'timezone test', { env: { TZ: 'America/New_York', }, }, () => { it('displays correct timezone', () => { console.log({ cypressEnv: Cypress.env('TZ'), // America/New_York browserTZ: Intl.DateTimeFormat().resolvedOptions().timeZone, // Europe/London but should be America/New_York }); }) } ) ```
    b

    bumpy-sundown-87582

    04/05/2023, 3:15 PM
    hello 🙂 I'd like to know if it's possible to change the timezone environment variable in a single test as it's in the docs, like this:
    Copy code
    js
    // change environment variable for single suite of tests
    describe(
      'timezone test',
      {
        env: {
          TZ: 'America/New_York',
        },
      },
      () => {
        it('displays correct timezone', () => {
          console.log({
            cypressEnv: Cypress.env('TZ'), // America/New_York
            browserTZ: Intl.DateTimeFormat().resolvedOptions().timeZone, // Europe/London but should be America/New_York
          });
        })
      }
    )
  • Do you guys find that tests fail in elektron that dont fail in chrome?
    b

    billowy-librarian-83114

    04/05/2023, 4:23 PM
    Do you guys find that tests fail in elektron that dont fail in chrome?
  • Hi someone please respond , is there a way to use the warning dialogue when we close or reload the browser to test
    a

    ambitious-monkey-72386

    04/05/2023, 5:17 PM
    Hi someone please respond , is there a way to use the warning dialogue when we close or reload the browser to test
  • ?
    a

    ambitious-monkey-72386

    04/05/2023, 5:17 PM
    ?
  • Thanks gleb for responding . First if I would like to say a big thankyou for all your work . Most of my automation has been always inspired from amd supported hugely by your contribution . For every pblm I faced I had a solution from you . Thanks .
    a

    ambitious-monkey-72386

    04/06/2023, 5:18 AM
    Thanks gleb for responding . First if I would like to say a big thankyou for all your work . Most of my automation has been always inspired from amd supported hugely by your contribution . For every pblm I faced I had a solution from you . Thanks .
  • So coming to the issue I am facing , I would want to automate a test case that should assert the presence of this dialogue and also interact with this dialogue buttons
    a

    ambitious-monkey-72386

    04/06/2023, 5:19 AM
    So coming to the issue I am facing , I would want to automate a test case that should assert the presence of this dialogue and also interact with this dialogue buttons
  • But currently cypress is unable to identify this dialogue
    a

    ambitious-monkey-72386

    04/06/2023, 5:20 AM
    But currently cypress is unable to identify this dialogue
  • a

    ambitious-monkey-72386

    04/06/2023, 5:20 AM

    https://cdn.discordapp.com/attachments/763114122065739818/1093404968154832916/IMG_5241.jpg▾

    https://cdn.discordapp.com/attachments/763114122065739818/1093404968863682570/IMG_5240.jpg▾

  • These dialogues are showed to user when he tries to close the browser or Eden he clicks the reload or back button in browser in chrome and edge
    a

    ambitious-monkey-72386

    04/06/2023, 5:21 AM
    These dialogues are showed to user when he tries to close the browser or Eden he clicks the reload or back button in browser in chrome and edge
  • So is it possible to interact with this dialogue
    a

    ambitious-monkey-72386

    04/06/2023, 5:22 AM
    So is it possible to interact with this dialogue
  • I found this old issue "https://github.com/cypress-io/cypress/pull/6945" and I seem to have the same problem now on version 12.9.0.. Anyone have an update to this?
    f

    fierce-engineer-40904

    04/06/2023, 8:04 AM
    I found this old issue "https://github.com/cypress-io/cypress/pull/6945" and I seem to have the same problem now on version 12.9.0.. Anyone have an update to this?
1...119120121...127Latest