mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: e2e tests
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user