fix: e2e tests

This commit is contained in:
Tienson Qin
2025-08-20 21:15:53 +08:00
parent df03ec7b3d
commit 099affdb9a

View File

@@ -75,6 +75,8 @@
(p/new-page "test page")
(b/new-blocks ["block1" "block2" "block3"])
(b/select-blocks 3)
(b/toggle-property "Tags" "Page")
(assert/assert-is-visible ".ls-page-blocks .ls-block .ls-icon-file")
(k/press "ControlOrMeta+Shift+m")
(w/fill "input[placeholder=\"Move blocks to\"]" "Library")
(w/wait-for (w/get-by-test-id "Library"))
@@ -86,6 +88,8 @@
(p/goto-page "test page")
(b/new-blocks ["block4" "block5"])
(b/select-blocks 2)
(b/toggle-property "Tags" "Page")
(assert/assert-is-visible ".ls-page-blocks .ls-block .ls-icon-file")
(k/press "ControlOrMeta+Shift+m")
(w/fill "input[placeholder=\"Move blocks to\"]" "Library")
(w/wait-for (w/get-by-test-id "Library"))