mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 00:42:20 +00:00
fix: e2e tests
This commit is contained in:
@@ -87,9 +87,11 @@
|
||||
(if (w/visible? ".cp__cmdk-search-input")
|
||||
(w/fill ".cp__cmdk-search-input" text)
|
||||
(do
|
||||
(double-esc)
|
||||
(assert/assert-in-normal-mode?)
|
||||
(w/click :#search-button)
|
||||
(k/press "ControlOrMeta+k")
|
||||
(when-not (w/visible? ".cp__cmdk-search-input")
|
||||
(double-esc)
|
||||
(assert/assert-in-normal-mode?)
|
||||
(w/click :#search-button))
|
||||
(w/wait-for ".cp__cmdk-search-input")
|
||||
(w/fill ".cp__cmdk-search-input" text))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user