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

    cuddly-thailand-33926

    02/07/2023, 1:32 PM
    Can you dm me the blog post when you're done? πŸ™
  • g

    gray-kilobyte-89541

    02/07/2023, 3:10 PM
    You could subscribe to https://glebbahmutov.com/blog/ or follow me on linked in / twitter / fosstodon / or subscribe to my https://cypresstips.substack.com/ πŸ™‚
  • c

    cuddly-thailand-33926

    02/07/2023, 3:16 PM
    @gray-kilobyte-89541 subscribed πŸ‘€ looking forward to it, thanks 🐒
  • a

    agreeable-painting-90494

    02/07/2023, 5:16 PM
    Has anyone had any trouble with Cypress 12 picking up on cancelled requests with intercept? Is there an option to only match non-cancelled requests?
  • t

    thousands-house-85089

    02/07/2023, 8:16 PM
    https://www.instagram.com/reel/CoI7OTroT-F/?igshid=MDJmNzVkMjY= This is why we always need clear, accurate, and precise acceptance criteria 🀣
  • a

    adorable-stone-42197

    02/08/2023, 9:41 AM
    Cypress Warning:
    cy.state('withinSubject')
    has been deprecated and will be removed in a future release. You should read
    cy.state('withinSubjectChain')
    once at the top of your command / query, and resolve it into a value with
    cy.getSubjectFromChain(withinSubjectChain)
    as needed. Can someone help about this? I don’t even see cy.state
  • p

    prehistoric-laptop-18732

    02/08/2023, 6:06 PM
    Hi, is there a timeline for when the Cypress Bitbucket Integration will be out of beta?
  • b

    best-flower-17510

    02/08/2023, 6:58 PM
    Hey @prehistoric-laptop-18732 I dont see a specific date for it, but we do have a priorities board here where you can follow the progress of features and integrations πŸ˜€ - https://github.com/orgs/cypress-io/projects/13/views/1
  • p

    prehistoric-laptop-18732

    02/08/2023, 6:58 PM
    great, thanks!
  • s

    square-cat-92310

    02/08/2023, 8:21 PM
    Helloooooooooo! 🐼
  • g

    gray-kilobyte-89541

    02/08/2023, 9:07 PM
    https://tenor.com/view/gingin-hello-hi-french-bulldog-dog-cute-gif-17055755
  • s

    square-cat-92310

    02/09/2023, 5:49 AM
    @gray-kilobyte-89541 gets me
  • g

    green-controller-97889

    02/09/2023, 11:25 AM
    Why do I have to write
    intercept
    before
    visit
    ?
    Copy code
    js
        cy.intercept("GET", `/api/get-my-data/`).as(
          "getMyData"
        );
        cy.visit("/view-data);
  • g

    gray-kilobyte-89541

    02/09/2023, 11:49 AM
    https://glebbahmutov.com/blog/cypress-intercept-problems/#the-intercept-was-registered-too-late (tip you can find answers to all your cypress questions by searching at https://cypress.tips/search)
  • p

    proud-tomato-54212

    02/09/2023, 1:09 PM
    @gray-kilobyte-89541 I opened an issue in cypress-GitHub more than 3 months before but have not gotten any update from cypress. can you help to get an update on this issue: https://github.com/cypress-io/cypress/issues/24764#issue-1459080872
  • g

    gray-kilobyte-89541

    02/09/2023, 1:21 PM
    a) don't use xpath b) unfortunately i have no free time to look into this
  • t

    thousands-house-85089

    02/09/2023, 3:49 PM
    Anyone know if I can force cypress to output a video file in 'open' mode, even if it doesn't fail?
  • t

    thousands-house-85089

    02/09/2023, 3:50 PM
    I don't seem to be able to find the right config settings
  • i

    icy-tent-5194

    02/09/2023, 8:08 PM
    Hi I'm using one login url also it's comes with auto focus on user id field before it's not fully load that page So Cypress is keeps loading what ever I gave timeouts It's just loading finally came as error Someone help to solve that plsπŸ˜‡
  • c

    colossal-table-38461

    02/10/2023, 4:42 AM
    Try wait-until till the page load then do further actions
  • i

    icy-tent-5194

    02/10/2023, 6:04 AM
    But it's keep loading
  • i

    icy-tent-5194

    02/10/2023, 6:05 AM
    Whatever we gives a time for that url
  • i

    icy-tent-5194

    02/10/2023, 6:16 AM
    But my link is fully comes in browser
  • c

    crooked-megabyte-18846

    02/10/2023, 9:52 AM
    the Start E2E testing in Chrome button always launches Chrome in full screen, and when you are on an ultrawide screen, it's quite annoying. My regular chrome, remembers the prior state and size when reopening. I guess this is default behaviour due to how it is launched. I haven't come across a way to change this behaviour, is this the case for others?
  • i

    incalculable-rainbow-43330

    02/10/2023, 11:43 AM
    if anyone interested, they can look into the Solution to the Problem with Test Isolation and Nested Describe in Cypress 12+ while upgrading from cypress 10+ https://techkakani.wordpress.com/2023/02/10/handling-test-isolation-problem-for-nested-describe-after-cypress-12-update/
  • n

    narrow-cpu-2218

    02/10/2023, 12:06 PM
    Can I use try{cy.request}catch{} to catch a 500 status code?
  • t

    thousands-house-85089

    02/10/2023, 3:22 PM
    You need to speak to a front-end dev. Find an element on the page you can assert on to get the cypress code to wait for it before continuing. e.g. if you had a spinning icon on the page for 'loading' under SPA it might look something like
    Copy code
    js
    // wait for SPA to load - when loading spinner disappears
    cy.get('.loading')
              .should('not.exist')
    Then after this you can do your login test
  • i

    icy-tent-5194

    02/10/2023, 3:53 PM
    Ok I'll try this But my login website have focus on user id field while it's in loading I think that's why Cypress waits for tha page load Can we slove that....?
  • t

    thousands-house-85089

    02/10/2023, 5:44 PM
    Cypress should know when the page has finished loading. If not then it means you have an SPA (single page application) where the page itself has loaded, but elements on the page have not, then have to wait for another element or condition in your test, like my example, before you continue.
  • i

    icy-tent-5194

    02/10/2023, 5:49 PM
    Ok sure and thanks for your reply πŸ˜‡
1...110111112...127Latest