Bonfire - tend to your digital life in community. Customise and host your own online space and control your experience at the most granular level.
GNU Affero General Public License v3.0
561
stars
42
forks
source link
Fix follows tests #276
Closed
mayel closed 2 years ago
4) test follow when I click follow on someone's profile (Bonfire.Social.Follows.Test) forks/bonfire_social/test/social_web/profiles/follow_test.exs:11 Assertion with =~ failed code: assert follow |> Floki.parse_fragment() ~> Floki.find("[data-id=follow]") |> Floki.text() =~ "Unfollow" left: "\n Follow " right: "Unfollow" stacktrace: forks/bonfire_social/test/social_web/profiles/follow_test.exs:26: (test)
5) test unfollow when I click unfollow on someone's profile (Bonfire.Social.Follows.Test) forks/bonfire_social/test/social_web/profiles/follow_test.exs:33 Assertion with =~ failed code: assert unfollow |> Floki.parse_fragment() ~> Floki.find("[data-id=follow]") |> Floki.text() =~ "Follow" left: "" right: "Follow" stacktrace: forks/bonfire_social/test/social_web/profiles/follow_test.exs:50: (test)