Skip to content

Сломались тесты из глубокого Cypress #22

Discussion options

You must be logged in to vote

New solution.

it("should do open conduit by link", () => {
        cy.get("section[data-cy=open-conduit-by-link]").as("section");
        cy.get("@section").find("a").invoke("removeAttr", "target").click({ timeout: 5000 });
        cy.origin('https://demo.realworld.io/', () => {
            cy.title().should("contain", "Conduit");
        });
    });

@SvetlanaVet check please.

https://www.cypress.io/blog/2022/12/06/announcing-cypress-12/
https://www.cypress.io/blog/2022/12/02/the-journey-behind-cy-origin/

Replies: 11 comments 5 replies

Comment options

SvetlanaVet
Jan 30, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

SvetlanaVet
Jan 30, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

SvetlanaVet
Jan 31, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SvetlanaVet
Comment options

SvetlanaVet Jan 31, 2023
Collaborator Author

Answer selected by SvetlanaVet
Comment options

You must be logged in to vote
1 reply
@SvetlanaVet
Comment options

SvetlanaVet Jan 31, 2023
Collaborator Author

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SvetlanaVet
Comment options

SvetlanaVet Feb 2, 2023
Collaborator Author

Comment options

SvetlanaVet
Feb 2, 2023
Collaborator Author

You must be logged in to vote
2 replies
@Vladimir-Tarasov
Comment options

@breslavsky
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants