Skip to content

click behavior changed with recent update #29989

Closed
@jenkma02

Description

Current behavior

I recently updated from 13.8.1 and we started having issues with async data not showing up when we're running our tests. an example can be seen in the videos below -

https://d.pr/v/px3TiT - we click the contact info link, we're redirected to a new url, and the modal pops up but it doesn't contain the data that it should

Desired behavior

https://d.pr/v/DxtrAh - here is the desired/expected behavior. we click the contact info link, we're redirected to a new url, and a modal automatically pops up populated with the user's profile data.

this has worked up until now and also works manually.

Test code to reproduce

cy.get('a')
      .contains('contact info')
      .click()
      .then(() => {
        cy.wait('@getProfile')

        cy.get('.modal-edit-about').should('be.visible')

        cy.get('.modal-edit-about input[name="email"]').should('have.value', 'pvtemployer@outlook.com')
)}

Cypress Version

13.13.2

Node version

20.12.2

Operating System

macOS sonoma14.6

Debug Logs

No response

Other

This works correctly in Firefox, but not Chrome.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions