Skip to content

Commit

Permalink
✅ Fix flaky test
Browse files Browse the repository at this point in the history
Why:
- This test failed once with "no such element"
  • Loading branch information
luontola committed Mar 2, 2024
1 parent 0baaa28 commit 492edd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/territory_bro/browser_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
(doto *driver*
(b/go *base-url*)
;; login to avoid 401 Unauthorized when testing for 403 Forbidden
(b/wait-visible :dev-login-button)
(b/click :dev-login-button))

(testing "404 Not Found"
Expand Down

0 comments on commit 492edd1

Please sign in to comment.