mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
fix system test
This commit is contained in:
parent
f79f32fb5d
commit
7ef22c6894
1 changed files with 2 additions and 0 deletions
|
@ -23,11 +23,13 @@ class AdminAreaAdminUsersIntegrationTest < JavaScriptApplicationSystemTestCase
|
||||||
createNewAdminUser(true)
|
createNewAdminUser(true)
|
||||||
|
|
||||||
visit admin_admin_users_path
|
visit admin_admin_users_path
|
||||||
|
assert_selector 'a', text: 'test_user_name'
|
||||||
click_on 'test_user_name'
|
click_on 'test_user_name'
|
||||||
|
|
||||||
assert_text 'General'
|
assert_text 'General'
|
||||||
click_on 'Edit'
|
click_on 'Edit'
|
||||||
|
|
||||||
|
assert_selector 'input[name*="password"]'
|
||||||
fill_in 'Password', with: 'test_password'
|
fill_in 'Password', with: 'test_password'
|
||||||
fill_in 'Password confirmation', with: 'test_password'
|
fill_in 'Password confirmation', with: 'test_password'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue