mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
add cypress scaffolding
This commit is contained in:
parent
3fb6f0413e
commit
9bffa6e52c
9 changed files with 100 additions and 1 deletions
10
cypress/integration/basic.spec.js
Normal file
10
cypress/integration/basic.spec.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { tools } from "../support/constants.js";
|
||||
|
||||
describe("Drawing elements", () => {
|
||||
it("should draw rectangle", () => {
|
||||
cy.visit("/");
|
||||
cy.viewport(600, 600);
|
||||
cy.pickTool(tools.rectangle);
|
||||
cy.get("#canvas").canvasDrag({ x: 50, y: 50 }, { x: 100, y: 100 });
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue