summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/browser/admin_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/browser/admin_test.rb b/test/integration/browser/admin_test.rb
index 2d3f988..902c981 100644
--- a/test/integration/browser/admin_test.rb
+++ b/test/integration/browser/admin_test.rb
@@ -10,10 +10,14 @@ class AdminTest < BrowserIntegrationTest
with_config admins: [@user.login] do
visit '/'
click_on "Usernames"
+ fill_in 'query', with: id.login[0]
+ click_on "Search"
within "##{dom_id(id)}" do
assert page.has_content? id.login
click_on "Destroy"
end
+ fill_in 'query', with: id.login[0]
+ click_on "Search"
assert page.has_no_content? id.login
click_on 'Log Out'
end