From ff13723d506c42861ab948bdd4a196ea6dc93182 Mon Sep 17 00:00:00 2001 From: woylie <13847569+woylie@users.noreply.github.com> Date: Sun, 15 Sep 2024 11:55:48 +0900 Subject: [PATCH] add assertion --- test/doggo/components_test.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/doggo/components_test.exs b/test/doggo/components_test.exs index f1183eb..94efede 100644 --- a/test/doggo/components_test.exs +++ b/test/doggo/components_test.exs @@ -804,6 +804,7 @@ defmodule Doggo.ComponentsTest do section = find_one(html, "section:root") assert attribute(section, "class") == "box" + assert attribute(section, "aria-labelledby") == nil body = find_one(section, ".box-body") assert text(body) == "Content" end