bitcrowd / bitstyles_phoenix

A collection of Elixir phoenix helpers for bitstyles
ISC License
12 stars 0 forks source link

Flaky test in the demo project #133

Open angelikatyborska opened 2 months ago

angelikatyborska commented 2 months ago

One of the tests in the demo projects keep failing from time to time.

  1) feature alpine & live sidebars (BitstylesPhoenixWebDemo.BitstylesPhoenixTest)
Error:      test/bitstyles_phoenix_demo_web/bitstyles_phoenix_test.exs:50
     ** (Wallaby.ExpectationNotMetError) Expected not to find 1, visible element that matched the css '.e2e-sidebar-alpine' but only 1, visible element was found.

     code: |> refute_has(Query.css(".e2e-sidebar-alpine"))
     stacktrace:
       test/bitstyles_phoenix_demo_web/bitstyles_phoenix_test.exs:80: (test)
Screenshot 2024-07-18 at 16 39 36