summaryrefslogtreecommitdiff
path: root/test/integration/browser
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-09 12:51:16 +0200
committerAzul <azul@leap.se>2014-07-09 12:51:16 +0200
commit0cc11ebb609de225fbeacbf80788b992b88b6ce6 (patch)
tree3dbf8562e91ac7d7c8759a0516efbdca93cbdeff /test/integration/browser
parentbdb4b0e275c205b0b44bbe3cc4ec4c162b309b37 (diff)
list identities based on search only
Diffstat (limited to 'test/integration/browser')
-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