Skip to content

cypress: cy.get(...).get(...) doesn't work #2712

Description

@JacquesBonet

In List.js file of cypress project we have 5 instructions with multiple get() like this one:

cy.get(ListPagePosts.elements.sortBy('"tags.name"')).get("svg").should('be.visible');

This instruction is equivalent to:

cy.get("svg").should('be.visible');

So we check the visibility of all svg dom element in the page and not of the svg element with a parent using class "tags.name".

I'll make a pull request about this problem.

Jacques

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions