feat(member-live): default the overview to comfortable density with folded-in email
This commit is contained in:
parent
0a23d03d9d
commit
4d100aef22
10 changed files with 58 additions and 44 deletions
|
|
@ -53,7 +53,8 @@ defmodule MvWeb.MemberLive.IndexA11yHardeningTest do
|
|||
# LiveView test is that the guarded checkbox markup exists in both densities.
|
||||
assert has_element?(view, "#members-table-guard input[type='checkbox'].checkbox")
|
||||
|
||||
# Switch to comfortable via the view-settings dropdown.
|
||||
# Toggle density via the view-settings dropdown (default is comfortable, so
|
||||
# this switches to compact) to check the other density too.
|
||||
view |> element("[data-testid='view-settings-button']") |> render_click()
|
||||
view |> element("[data-testid='view-setting-density']") |> render_click()
|
||||
assert has_element?(view, "#members-table-guard input[type='checkbox'].checkbox")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue