https://cypress.io logo
Join Discord
Powered by
# cy10-feedback
  • f

    fresh-doctor-14925

    12/11/2022, 9:50 AM
    !duplicate
  • n

    nutritious-analyst-96582

    12/11/2022, 9:50 AM
    Uh oh, It looks like you have posted the same question in multiple channels. Help us prevent spam by removing any duplicates of your questions, Thanks! 😀
  • r

    rough-van-84956

    12/12/2022, 5:36 AM
    Cypress 12.0.2 breaks (for me) on the following:
    Copy code
    cy.get('button').contains('Save').click()
    The error is:
    Copy code
    CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.
    It works if I change it to:
    Copy code
    cy.contains('button','Save').click()
    There is only one Save button on the page and I've seen this in testing two different apps. The original version works in 12.0.1
  • a

    acceptable-hamburger-48790

    12/12/2022, 8:30 AM
    What do you see when you click on the two elements in the test runner? The two yielded elements should be printed to console and see if there is any hidden element
  • r

    rough-van-84956

    12/12/2022, 8:52 AM
    Interesting, there is a second button present. The 'other' button is in a modal... not visible. When I query specifically for it,
    get
    fails. This is definitely different behaviour in 12.0.2.
    • 1
    • 1
  • g

    glamorous-potato-68078

    12/12/2022, 7:58 PM
    Hello all, since this morning I've been having issues launching on my local machine (MacOS) . It was working fine for the past 6 months. We are currently running on Cypress v10.10.0 (however I have tried updating Cypress to the latest version and it didn't help). I have tried installing and older versions of Edge (last update was on 8th Dec) and also completely uninstalling Edge using AppCleaner and installing Edge Beta (seen in screenshot). We are using edge for testing some marketing trackers which don't work in Chrome in cypress by default. Testing headlessly works but launching using --watch or --headed with --browser edge (or edge:beta) it either is unable to connect as on the first screenshot or it returns this error. ---- read ECONNRESET Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) The Test Runner unexpectedly exited via a exit event with signal SIGABRT Please search Cypress documentation for possible solutions: ---- I have also tried going to File -> View App Data and deleting the project folder
  • l

    lemon-holiday-89994

    12/12/2022, 8:28 PM
    I don't know if this is your problem, but I have seen Cypress get weird if the browser is set to auto-update and the update has downloaded, but not installed
  • g

    glamorous-potato-68078

    12/13/2022, 10:22 AM
    Hey, thanks for the reply. Unfortunately that's not it, because when I downloaded an older version I automatically disabled auto-updates
  • k

    kind-lock-48901

    12/13/2022, 10:45 AM
    Hello everyone, I’ve just upgraded Cypress to
    12.1.0
    (from
    9.6.1
    ) and now I’m getting the error
    Cannot overwite the contains query. Queries cannot be overwritten
    Any idea how to fix it?
  • g

    gray-kilobyte-89541

    12/13/2022, 12:06 PM
    comment on https://github.com/cypress-io/cypress/issues/25078 asking for it
  • g

    glamorous-potato-68078

    12/13/2022, 1:56 PM
    It seems that I didn't go far enough back when installing previous versions , I have installed the Edge-104.0.1293.54 (a version from June) and it seems to be working now. I have disabled auto updates.
  • w

    witty-van-98092

    12/15/2022, 10:30 AM
    A bit related to https://discord.com/channels/755913899261296641/755921440359841852/1052874337973186580 Since the upgrade to Cypress 12, the
    click({multiple: true})
    doesn't seems to work: If we do:
    Copy code
    typescript
    // before Cypress 12, this line was closing all notifications
    cy.getNotificationsQuery().click({ multiple: true });
    we got the error:
    Copy code
    console
    We initially found matching element(s), but while waiting for them to become actionable, they disappeared from the page. Common situations why this happens:
    - Your JS framework re-rendered asynchronously
    - Your app code reacted to an event firing and removed the element
    
    You can typically solve this by breaking up a chain. For example, rewrite:
    
    > cy.get('button').click().click()
    
    to
    
    > cy.get('button').as('btn').click()
    > cy.get('@btn').click()Learn more
    indeed, the click will remove one element and the second click complain. So we modified the code to have:
    Copy code
    typescript
        cy.getNotificationsQuery().as('notifs').click();
        cy.get('@notifs').click()
    we got the error:
    Copy code
    console
    cy.click() can only be called on a single element. Your subject contained 2 elements. Pass { multiple: true } if you want to serially click each element.Learn more
    Endless story 😄
  • f

    fresh-doctor-14925

    12/15/2022, 11:14 AM
    A bit related to httpsdiscord
  • h

    high-raincoat-69564

    12/15/2022, 5:22 PM
    Would be great to have "Cancel run on test failure" per
    --group
    Since one group on a CI job can cancel another one, it reduces the value of "Rerun workflow from failed"
  • b

    best-flower-17510

    12/15/2022, 5:37 PM
    Have you submitted a request for this? - https://github.com/cypress-io/cypress/issues/new?assignees=&labels=&template=3-feature.yml
  • h

    high-raincoat-69564

    12/15/2022, 5:37 PM
    Will do, thanks!
  • m

    magnificent-finland-58048

    12/16/2022, 2:58 PM
    not just group, you could add all the filtering; tags, etc. for instance cancel normal runs on failure, but don't cancel cron jobs so we can get a full perspective
  • l

    late-planet-4481

    12/21/2022, 5:10 PM
    I don't have enough evidence to open up a Github issue yet, but in addition to a previous issues I've mentioned, Cypress 12.2 (I gave it another try after the .2 bump) gives me "maximum call stack size" errors in several places. I don't have a reproducible example yet but it's something to keep an eye out for. Downgrading to 11 makes the errors disappear.
  • l

    late-planet-4481

    12/21/2022, 5:12 PM
    Since I haven't seen anyone mention the error yet my suspicion is that it happens more frequently in certain areas of complexity. That's going to make a reproducible example tougher to provide for sure.
  • r

    rough-oxygen-26641

    12/28/2022, 10:32 AM
    Hello everyone, is it possible to select elements by their ``data-*`` attribute in Cypress Studio? Cypress Studio seems to prefer IDs over class, but I think it would be smart if it preferred for example ``data-qa`` attributes if present
  • b

    best-flower-17510

    12/28/2022, 5:18 PM
    Hello everyone is it possible to select
  • p

    proud-breakfast-29892

    12/29/2022, 11:12 AM
    Hi everyone, it looks like there is a bug with cypress regarding selecting elements with case-insensitive selectors, this is a valid css selector
  • p

    proud-breakfast-29892

    12/29/2022, 11:18 AM
    It even works in the Cypress Runner
  • p

    proud-breakfast-29892

    12/29/2022, 11:18 AM
    This is v11.2 and we cannot upgrade at the moment
  • p

    proud-breakfast-29892

    12/29/2022, 11:31 AM
    https://github.com/cypress-io/cypress/issues/25304
  • t

    thousands-house-85089

    01/03/2023, 5:40 PM
    Really liking the update to "Overview" in cypress cloud!
  • p

    powerful-orange-86819

    01/06/2023, 7:55 AM
    The mobile view on my iPhone 14 is really broken of the dashboard, it seems like the Cypress team has put some work into making it responsive, but when I start navigating between tests and suites it becomes really broken. Is there any consideration in the future to make the dashboard fully responsive ?
  • b

    best-flower-17510

    01/06/2023, 5:59 PM
    Hey @powerful-orange-86819 , great question! Mobile usability is an ongoing conversation amongst the members of the design/product team. I don't have any hard dates, but iterations will continue to be made. Would you mind submitting an issue regarding this question as well? We would like to document the amount of users that would find value in full responsiveness - https://github.com/cypress-io/cypress/issues/new/choose
  • s

    stocky-intern-86590

    01/08/2023, 12:59 AM
    I'm getting this error
  • s

    stocky-intern-86590

    01/08/2023, 1:14 AM
    Any help?
1...1415161718Latest