Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
fix clicky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehelmick committed Jan 16, 2021
1 parent 064e223 commit fb7caae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/assets/admin/_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<ul class="nav nav-pills justify-content-center mb-3">
<li class="nav-item">
<a class="nav-link{{if .currentPath.IsDir "/admin/realms"}} active{{end}}" href="/admin/realms">Realms</a>
<a class="nav-link{{if .currentPath.IsDir "/admin/realms"}} active{{end}}" id="realms" href="/admin/realms">Realms</a>
</li>

<li class="nav-item">
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/admin/realms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func TestShowAdminRealms(t *testing.T) {
chromedp.Submit(`form#new-form`, chromedp.ByQuery),

/* ----- Test Search ----- */
chromedp.Click(`a#realms`, chromedp.ByQuery),
// Wait for render.
chromedp.WaitVisible(`body#admin-realms-index`, chromedp.ByQuery),

Expand Down

0 comments on commit fb7caae

Please sign in to comment.