https://cypress.io logo
Join Discord
Powered by
# general-chat
  • m

    modern-dawn-86006

    01/16/2023, 7:48 PM
    I have 2-3 hours of free time after work.
  • b

    best-flower-17510

    01/17/2023, 4:34 PM
    Thanks for volunteering your time! I am sure one of our @User would be happy to participate in this πŸ˜€
  • Why I can't see #help-e2e-testing and #help-component-testing?
    p

    purple-afternoon-2408

    01/18/2023, 4:03 AM
    Why I can't see #help-e2e-testing and #help-component-testing?
    d
    b
    • 3
    • 3
  • Is cypress gonna takeover Selenium? The discord is growing pretty rapidly.
    q

    quiet-knife-49377

    01/18/2023, 1:34 PM
    Personally I hope it does, the sooner the better.
    m
    • 2
    • 3
  • test.cy.js is <reference types="cypress" /> ? no longer needed?
    k

    kind-memory-80031

    01/18/2023, 3:22 PM
    Hey everyone, was trying to find the answer online but could not. With the introduction of test.cy.js (the .cy part) do we still need to provide /// ?
    t
    • 2
    • 3
  • Cypress vs Playwright
    b

    better-needle-12400

    01/18/2023, 9:01 PM
    Cypress vs Playwright. Has anyone used both of them ? Any drawbacks ? Is playwright worth exploring
    g
    c
    +4
    • 7
    • 13
  • Automated test creation
    c

    chilly-pilot-81570

    01/19/2023, 1:58 PM
    Is it possible to automatically create structure validations for a website? Example: I must remove certain libraries, which requires refactoring code that generates html, but this change must be transparent to the "browser" delivering the same structure and information. This way you could make changes and run tests, being sure that the site is maintained as it was.
    e
    w
    • 3
    • 6
  • Chrome Extension
    e

    echoing-tent-95037

    01/19/2023, 5:08 PM
    Just wanted to double check on this. We are still unable to interact with loaded chrome extensions with Cypress right?
    b
    • 2
    • 4
  • Cypress Event in 20 mins πŸš€
    b

    best-flower-17510

    01/19/2023, 5:42 PM
    Hey folks! We have 20 minutes until our live coding event with Applitools. You can register to attend the event here: https://discord.gg/aVrVdBX2?event=1054801297217437776 See you there!
  • Bad Request Error after click on button and redirect on Cypress ver. 10.9.0 +
    q

    quiet-hospital-3813

    01/20/2023, 6:34 PM
    On versions below all is working fine
    t
    b
    • 3
    • 5
  • Old style general chat
    m

    modern-dawn-86006

    01/22/2023, 6:16 PM
    Can we get back the old style general chat? πŸ₯Ί
    t
    g
    +4
    • 7
    • 15
  • Cy extension to have UI for requests + response as in postman
    g

    gorgeous-forest-81700

    01/23/2023, 1:40 PM
    I just looked on Future-Proofing Your Automation Pipeline webinar and there was used UI for requests and response is it already available?
    m
    e
    +2
    • 5
    • 10
  • browser
    i

    incalculable-rainbow-43330

    01/23/2023, 2:15 PM
    How to run my single spec with multiple versions of Chrome browser? is possible to have multiple versions of chrome installed so that cypress can run the test suits against either one
    t
    e
    b
    • 4
    • 6
  • Cypress
    n

    narrow-king-20124

    01/23/2023, 6:41 PM
    Test runner left pane closes after the salesforce application is open #14274
    w
    • 2
    • 2
  • Executing requests in parallel
    s

    silly-hairdresser-33662

    01/23/2023, 7:53 PM
    I have some automation that I'm running through 1500+ rest API calls to build out some data. I'm wondering how I can go about calling these apis in parallel to speed up run time. Right now it takes about 19min to complete.
    g
    • 2
    • 5
  • Login to gmail via cypress
    m

    mysterious-wall-17437

    01/24/2023, 12:49 AM
    I'm trying to implement solution for an interview where I have to login to gmail account and validate some checks from there. I'm able to login to gmail sing valid credentials but When I press next button after providing password, cypress runner returning this error for chrome browser. IF trying with electron then it stuck on loading. How we can resolve this issue and get access to mails. Login to google account accounts.google.com/ working fine. issue comes when you try to access gmail mails. Can anyone suggest any solution.
    e
    • 2
    • 5
  • Facing issue while running cypress in jenkins.
    b

    brainy-queen-50380

    01/24/2023, 5:26 AM
    Few of my tests are getting skipped with this error [3829:0124/013741.770269:ERROR:connection.cc(46)] X connection error received.
    e
    b
    • 3
    • 5
  • Cypress binaries list
    d

    dazzling-addition-19232

    01/24/2023, 3:07 PM
    Hi, does cypress has an Official archive of all binaries, like: https://nodejs.org/dist I need a way to verify the shasum256 of a binary downloaded from: https://registry.npmmirror.com/binary.html?path=cypress
    b
    • 2
    • 2
  • Layoffs at Cypress.io
    a

    adorable-smartphone-87280

    01/25/2023, 2:49 PM
    I realize that Cypress (the tool) is open-source, but is anyone concerned about the future of the Cypress ecosystem given the recent layoffs happening at Cypress.io? I saw employees listing a bunch of options for sale to qualified investors on LinkedIn - overall just a sort of scary vibe, so I'm curious to hear others' thoughts. Just keep developing on Cypress until things look really bad?
    g
    e
    • 3
    • 8
  • Cypress course for someone with a non-JS background
    r

    rapid-smartphone-72849

    01/26/2023, 9:15 AM
    I have a colleague who has come from a manual testing background. With a little help, he's up and running with Cypress. We've talked about finding him a course which would help him get further with Cypress - my inital thoughts were a basic JS course, but I think a lot of the material won't be useful for his work. Can anyone recommend a Cypress course for someone with no JS experience?
    p
    g
    +3
    • 6
    • 8
  • OR assertion in Cypress
    w

    worried-florist-70313

    01/27/2023, 4:10 PM
    I want to create an assertion that checks two different strings to see whether they contain a specific substring. If either of the two strings contains the substring, the assertion should be correct. How do I achieve this with Cypress? My current approach is to the following:
    Copy code
    javascript
       productList.each($el =>
          cy
            .wrap($el)
            .should(
              'satisfy',
              () =>
                cy.wrap($el).find('#product-title').should('contain.text', 'house blend') ||
                cy.wrap($el).find('#product-description').should('contain.text', 'house blend')
            )
        )
    This seems to produce an infinite loop though. In the end, I just want this assertion to be true if either one of the strings contains the correct substring
    house blend
    a
    g
    • 3
    • 4
  • check if a button is enabled
    c

    cold-author-79999

    01/30/2023, 8:56 AM
    how to check if a button is enabled in cypress?
    t
    g
    f
    • 4
    • 16
  • b

    best-flower-17510

    01/30/2023, 9:12 PM
    Saw a few free tickets for @User Global Summit 23 if anyone is interested in attending (Virtual) - https://events.geekle.us/angular2/
  • m

    modern-dawn-86006

    01/30/2023, 9:26 PM
    Ok, this is way much better and convenient
  • m

    modern-dawn-86006

    01/30/2023, 9:30 PM
    Hi, is there a way to know if you are eligible for being an ambassador or not?
  • p

    polite-lifeguard-36257

    01/30/2023, 9:33 PM
    Thank you I signed up !
  • l

    lively-library-21721

    01/31/2023, 8:02 AM
    Please help me to solve this error. My objective is to get the text value from the response
  • n

    nutritious-restaurant-91514

    01/31/2023, 8:24 AM
    You are on the right track, you may just have made a mistake in the reference. Try to console.log out the
    response.body
    first, then see what appears when you console.log out
    response.body.messages
    etc. until you get to the proper key. I cannot tell from the test code whether you are using intercept, but if you do there is a good chance you are confusing yourself with the naming. when you use intercept command and then use e.g.
    cy.wait()
    what you will get is an object that will contain both request and response. this means, that if you name your callback parameter
    response
    than you would end up with something like this:
    Copy code
    js
    cy.wait('@myThing')
      .then( response => {
      console.log(response) // will contain response and request
      console.log(response.request) // will contain request
      console.log(response.response) // will contain your response
    })
    I’d suggest using different alias in the
    .then()
    callback parameter, so something like
    .then( myThing => {})
    or even better, use destructuring:
    Copy code
    js
    cy.wait('@myThing')
      .then( ({response, request}) => {
      console.log(request) // will contain request
      console.log(response) // will contain your response
    })
    this way you don’t need to worry about naming things so much. I wrote an article on using destructuring and also on finding the right key in the response object, so that might give you some more useful info: https://filiphric.com/reading-and-testing-json-object-in-cypress https://filiphric.com/using-destructuring-in-cypress
  • p

    polite-alarm-78904

    01/31/2023, 10:26 AM
    After updating Cypress to the latest version I've been having som issues with some tests failing randomly. It seems to be related to one of the intercepts, but I can't pinpoint exactly which request seems to be the issue. Anyone having similar problems? This is the error I get:
    Copy code
    Cannot read properties of undefined (reading 'statusCode')
  • m

    most-baker-72677

    01/31/2023, 11:36 AM
    Running cypress 10.11 has anyone had any trouble running chrome when chrome management for enterprise is turned on? A side to that - can anyone point me to what cypress does to setup the profile to run the tests? does anyone know the domain used if at all?
1...107108109...127Latest