defmodule MicrowavepropWeb.PrivacyLiveTest do use MicrowavepropWeb.ConnCase, async: true import Phoenix.LiveViewTest describe "page content" do test "renders privacy policy page", %{conn: conn} do {:ok, _view, html} = live(conn, ~p"/privacy") assert html =~ "Privacy" assert html =~ "What we collect" assert html =~ "We will never" end end end