test: Add wait_attr function

Reviewed-by: Stef Walter <stefw@redhat.com>
test: Fix check-realms for recent changes

The default administrator is now in the placeholder of the input box.

Closes #961
Reviewed-by: Stef Walter <stefw@redhat.com>