Skip to content

Commit

Permalink
safari: disable actions release test
Browse files Browse the repository at this point in the history
Safari/safaridriver 18.2 no longer releases mouse down on actions release.
Disable test for now.

Closes #688
  • Loading branch information
lread committed Jan 14, 2025
1 parent 7426cda commit 8e4033f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/etaoin/api_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1159,16 +1159,17 @@
:wheel true
:back false
:forward false} button-state)))))
(testing "release actions wipes state"
(e/release-actions *driver*)
(let [button-state (-> (e/get-element-text *driver* :mouseButtonState)
(json/parse-string true))]
(e/when-not-safari *driver* ;; now failing on safari/safaridriver 18.2 as witnessed on 2025-01-14
(testing "release actions wipes state"
(e/release-actions *driver*)
(let [button-state (-> (e/get-element-text *driver* :mouseButtonState)
(json/parse-string true))]
(is (= {:type "mouseup"
:left false
:right false
:wheel false
:back false
:forward false} button-state))))))
:forward false} button-state)))))))

(deftest test-combined-actions
(testing "input key and mouse click"
Expand Down

0 comments on commit 8e4033f

Please sign in to comment.