mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
test(e2e,rtc): click before input property-name
This commit is contained in:
2
.github/workflows/clj-rtc-e2e.yml
vendored
2
.github/workflows/clj-rtc-e2e.yml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
- name: Run e2e tests
|
||||
run: cd clj-e2e && timeout 30m bb run-rtc-extra-test
|
||||
env:
|
||||
DEBUG: "pw:api"
|
||||
# DEBUG: "pw:api"
|
||||
|
||||
- name: Collect screenshots
|
||||
if: ${{ failure() }}
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
(w/click (util/get-by-text (str title-prefix "-" property-type) true))
|
||||
(k/press "Control+e")
|
||||
(util/input-command "Add new property")
|
||||
(w/click "input[placeholder]")
|
||||
(util/input property-name)
|
||||
(w/click (util/get-by-text "New option:" false))
|
||||
(assert/assert-is-visible (w/get-by-text "Select a property type"))
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
[logseq.e2e.custom-report :as custom-report]
|
||||
[logseq.e2e.fixtures :as fixtures :refer [*page1 *page2]]
|
||||
[logseq.e2e.graph :as graph]
|
||||
[logseq.e2e.keyboard :as k]
|
||||
[logseq.e2e.locator :as loc]
|
||||
[logseq.e2e.outliner-basic-test :as outliner-basic-test]
|
||||
[logseq.e2e.page :as page]
|
||||
@@ -258,8 +257,7 @@
|
||||
(w/with-page @*page2 (rtc/rtc-start))
|
||||
(w/with-page @*page1 (rtc/with-wait-tx-updated (b/new-block "xxxx")))
|
||||
(w/with-page @*page2 (rtc/with-wait-tx-updated (b/new-block "yyyy")))
|
||||
(validate-2-graphs)
|
||||
)))
|
||||
(validate-2-graphs))))
|
||||
|
||||
(comment
|
||||
(do (w/with-page @*page1 (rtc/rtc-stop))
|
||||
|
||||
Reference in New Issue
Block a user