https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • i

    incalculable-rainbow-43330

    03/03/2023, 3:12 PM
    oops i missed it removing that worked 👍 @gray-kilobyte-89541 thank you
  • n

    narrow-policeman-70631

    03/03/2023, 3:45 PM
    Hi guys, i hope you all are doing very well today 🙂 . Anyone has an idea if we can deal with tabs inside cypress executions? for example in this case when i run my test, it open a new facebook tab, but how can i go back to the original tab?
  • l

    late-planet-4481

    03/03/2023, 6:08 PM
    Is there a way to search the old channels that got converted to forums?
  • l

    limited-agency-13286

    03/03/2023, 9:47 PM
    Hello everyone hope you are doing good. I am having a use case where I have list of mat-cards. I need to click on one card based on 2 elements context in that card. How can I write a test case for this condition then click on mat-card
  • l

    limited-agency-13286

    03/03/2023, 9:49 PM
    Hello as per my knowledge cypress won’t support a new tab. However we have workaround by get the element and change the target so it will render in the same tab. Check out the following link https://testersdock.com/cypress-new-window/
  • n

    narrow-policeman-70631

    03/04/2023, 12:03 AM
    Thanks a lot, ill try this!!
  • d

    dazzling-thailand-9844

    03/04/2023, 1:13 AM
    for a deeper understanding, I advise you to read this article by Gleb: https://glebbahmutov.com/blog/cypress-second-tab/
  • m

    modern-dawn-86006

    03/05/2023, 10:34 AM
    Nice, what's this?
  • c

    cuddly-thailand-33926

    03/05/2023, 10:45 AM
    It's using chat gpt to identify test components, create test cases for it, and automate the Custom Commands creation so far
  • m

    modern-dawn-86006

    03/05/2023, 10:45 AM
    That's so cool
  • o

    orange-exabyte-93257

    03/05/2023, 6:57 PM
    Hello everyone. I am trying to test reCaptcha (google) with Cypress. I am getting to the point where i click the reCaptcha check-box but i am not able to solve the questions provided afterwards (e.g. find the traffic lights). This is my production environment so i cannot do any workaround / configuration of the site itself. Is this at all possible to be fully automated or no?
  • a

    adorable-smartphone-87280

    03/05/2023, 9:31 PM
    #1059862387525685270 is not the best name we can think of, I reckon. Maybe “general-chat” vs “general-forum” or something?
  • a

    ancient-appointment-66951

    03/06/2023, 3:55 AM
    @orange-exabyte-93257 you cannot fill out recaptcha with Cypress (or any automation tool - that's the point of recaptcha, to stop bots 😅 )
  • a

    ancient-appointment-66951

    03/06/2023, 3:56 AM
    You will likely need to implement something test-specific; historically, I have used a staging env for my e2e tests that do not use recaptcha.
  • d

    dazzling-thailand-9844

    03/06/2023, 4:59 AM
    Hi, yeah, obviously it's impossible to pass automation blocking software using automation software) In developer mode only you should use the test key for captcha: https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha.-what-should-i-do
  • o

    orange-exabyte-93257

    03/06/2023, 8:16 AM
    Yeah, i've read this. Thanks anyhow.
  • i

    incalculable-rainbow-43330

    03/06/2023, 11:02 AM
    Team is there any article which can help us real with "Timed out retrying after .....ms" Error either while clicking or expected to find element. so that it helps us and the problem is we are able to see the test cases working fine in local but failing with timeout randomly in CI/CD Any help is highly appreciated 👍
  • l

    late-dinner-1440

    03/06/2023, 6:09 PM
    Hi friends, i am now using Vim and love it. Here is a link to this magic Typescipt machine. This safe my a lot of energy in compare to IntelliJ stuff. But i do not figure out a nice theme. Do you have favs here? https://thoughtbot.com/blog/modern-typescript-and-react-development-in-vim
  • a

    acceptable-family-97943

    03/07/2023, 10:37 AM
    Hi guys, quick question - does anyone know if it's possible to write a custom command that accepts a generic type for an argument? e.g.
    cy.GetData<User>(arguments)
    ?
  • a

    acceptable-family-97943

    03/07/2023, 10:53 AM
    ^ nvmd, found it - was looking in the wrong file 👌
  • c

    colossal-table-38461

    03/08/2023, 4:19 AM
    Hello All, Does anyone have any link or doc or video to automate e2e flow for DB Connection (Microsoft SQL Server Management Studio) with Cypress ???
  • p

    prehistoric-restaurant-72560

    03/08/2023, 8:55 AM
    I dont know why, but all the time I thought that cy.request() is depreciated. Could I ever been more wrong? cy.server() is removed, but rest works the same, right? cy.request and cy.intercept are just different things.
  • w

    wooden-helicopter-64866

    03/08/2023, 9:08 AM
    Hello Community, In Cypress when I try to inspect elements by the default inspector of Cypress it is not working.when i press f12 and inspect then it is working, Can you please give me a solution Thank you in Advance
  • g

    gray-kilobyte-89541

    03/08/2023, 11:35 AM
    you are thinking
    cy.route
    - that was deprecated and removed with
    cy.server
  • c

    colossal-table-38461

    03/08/2023, 4:18 PM
    Hello All, Does anyone have any link or doc or video to automate e2e flow for DB Connection (Microsoft SQL Server Management Studio) with Cypress ??? @gray-kilobyte-89541
  • h

    handsome-autumn-4077

    03/08/2023, 5:48 PM
    Hey cypress community! New Cypress adopter and fanatic here. I have been using the cypress modal to visualize tests that I am developing. I have noticed that when I call cy.api, the api view takes over and the webpage under test is hidden. How can I prevent this?
  • h

    handsome-autumn-4077

    03/08/2023, 5:57 PM
    Basically I need to exit #api-view
  • h

    handsome-autumn-4077

    03/08/2023, 5:57 PM
    The videos are also affected when running headless.
  • e

    enough-truck-68085

    03/08/2023, 5:57 PM
    cy.api
    , with the
    cypress-plugin-api
    should be used specifically for api tests. For e2e / component tests you should be using
    cy.request
  • h

    handsome-autumn-4077

    03/08/2023, 5:58 PM
    Thanks @enough-truck-68085, I actually tried that and it does the same thing. I will definitely not use cy.api in ui tests going forward.
1...115116117...127Latest