mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
fix: multi-tabs e2e tests
This commit is contained in:
@@ -30,10 +30,11 @@
|
|||||||
(util/input graph-name)
|
(util/input graph-name)
|
||||||
(when enable-sync?
|
(when enable-sync?
|
||||||
(w/wait-for "button#rtc-sync" {:timeout 3000})
|
(w/wait-for "button#rtc-sync" {:timeout 3000})
|
||||||
(w/click "button#rtc-sync"))
|
(w/click "button#rtc-sync")
|
||||||
(when enable-sync?
|
|
||||||
(input-e2ee-password)
|
(input-e2ee-password)
|
||||||
(w/wait-for "button.cloud.on.idle" {:timeout 20000}))
|
(w/wait-for "button.cloud.on.idle" {:timeout 20000}))
|
||||||
|
(when-not enable-sync?
|
||||||
|
(w/click "button:not([disabled]):text(\"Submit\")"))
|
||||||
;; new graph can blocks the ui because the db need to be created and restored,
|
;; new graph can blocks the ui because the db need to be created and restored,
|
||||||
;; I have no idea why `search-and-click` failed to auto-wait sometimes.
|
;; I have no idea why `search-and-click` failed to auto-wait sometimes.
|
||||||
(util/wait-timeout 1000))
|
(util/wait-timeout 1000))
|
||||||
|
|||||||
Reference in New Issue
Block a user