bikebrigade / dispatch

Bike Brigade's dispatching software! 🚴
https://bikebrigade.ca
Apache License 2.0
74 stars 9 forks source link

test flake: BikeBrigadeWeb.UserLiveTest Users new / edit Can make a user into a dispatcher #403

Open danp opened 3 months ago

danp commented 3 months ago

Just got this on main:

  1) test Users new / edit Can make a user into a dispatcher (BikeBrigadeWeb.UserLiveTest)
Error:      test/bike_brigade_web/live/user_live_test.exs:64
     Assertion with =~ failed
     code:  assert view
            |> render()
            |> Floki.parse_fragment!()
            |> Floki.find(".user-row")
            |> List.last()
            |> Floki.text() =~ ~r"🧑‍🔧.*🚴"s
     left:  "Ivory Lubowitzgudrun1906@greenholt.org\n                \n+16472837607\n  \n                \n              \n  \n        🧑‍🔧\n        \n  \n      Dispatcher\n    \n      Edit , Ivory Lubowitz\n      Delete , Ivory Lubowitz"
     right: ~r/🧑‍🔧.*🚴/s
     stacktrace:
       test/bike_brigade_web/live/user_live_test.exs:80: (test)