test(e2e,rtc): click before input property-name

This commit is contained in:
rcmerci
2025-05-25 23:34:27 +08:00
parent a3746920d7
commit 6d7388a7b7
3 changed files with 3 additions and 4 deletions

View File

@@ -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() }}

View File

@@ -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"))

View File

@@ -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))