defmodule AshAdmin.Test.PageLiveTest do use ExUnit.Case, async: false import Plug.Conn import Phoenix.ConnTest import Phoenix.LiveViewTest @endpoint AshAdmin.Test.Endpoint setup do %{conn: build_conn()} end test "it renders the schema by default", %{conn: conn} do {:ok, _view, html} = live(conn, "/Api/Post") assert html =~ "Attributes" assert html =~ "body" assert html =~ "String" end end