Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

test: skip test.yml in PRs (#8330)

David Luzar232242d2e90c
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ac66fe1adc..7d454ecfc4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,7 +1,6 @@
name: Tests
on:
- pull_request:
push:
branches: master
diff --git a/packages/excalidraw/tests/MermaidToExcalidraw.test.tsx b/packages/excalidraw/tests/MermaidToExcalidraw.test.tsx
index 101c26e5bf..05727a0f4e 100644
--- a/packages/excalidraw/tests/MermaidToExcalidraw.test.tsx
+++ b/packages/excalidraw/tests/MermaidToExcalidraw.test.tsx
@@ -90,7 +90,7 @@ describe("Test <MermaidToExcalidraw/>", () => {
it("should open mermaid popup when active tool is mermaid", async () => {
const dialog = document.querySelector(".ttd-dialog")!;
- await waitFor(() => dialog.querySelector("canvas"));
+ await waitFor(() => expect(dialog.querySelector("canvas")).not.toBeNull());
expect(dialog.outerHTML).toMatchSnapshot();
});