Created
July 28, 2021 22:43
-
-
Save yanfengliu/85bc562b48a89275b7e544304b96e0b3 to your computer and use it in GitHub Desktop.
Cypress snapshot test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("buttons", () => { | |
it("can change class", () => { | |
cy.getById("label_class").select("class1"); | |
dot_mode_coordinates_2.forEach((coordinate) => { | |
cy.get("canvas").click(coordinate.x, coordinate.y); | |
}); | |
cy.get("canvas").matchImageSnapshot("multi_class"); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment