New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress doesn't handle well position: fixed or/and transform: translate #2558

kud opened this Issue Oct 3, 2018 · 0 comments


1 participant

kud commented Oct 3, 2018

Current behavior:


Cypress is telling me

CypressError: Timed out retrying: expected '<>' to be 'visible'

This element '<>' is not visible because it has CSS property: 'position: fixed' and its being covered by another element:

<div class="article-box heading-section-box">...</div>

However, when you check the display, the form in the header with "contexte" is visible.

Desired behavior:

No error, assertion should be "true".

Steps to reproduce:

Try a test on and do:

  it.only(`shows login form when clicking on login button in the header after scrolling`, function() {
    // # GIVEN visiting the home and scrolling, the login form shouldn't be visible

    cy.contains('Voir tous les articles et brèves').scrollIntoView()


    // # WHEN clicking on "login" button
      .contains('Se connecter')

    // # THEN the login form must be visible


cypress: 3.0.2

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