mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Use standard UI
This commit is contained in:
parent
837f3ed541
commit
b850efb939
4 changed files with 9 additions and 8 deletions
|
@ -14,7 +14,7 @@ class AdminRegistrarsApiUsersSystemTest < ApplicationSystemTestCase
|
|||
|
||||
fill_in 'Username', with: username
|
||||
fill_in 'Password', with: valid_password
|
||||
click_on 'Save'
|
||||
click_on 'Create API user'
|
||||
|
||||
assert_text 'Record created'
|
||||
assert_text "Username #{username}"
|
||||
|
@ -43,7 +43,7 @@ class AdminRegistrarsApiUsersSystemTest < ApplicationSystemTestCase
|
|||
visit admin_registrar_api_user_path(api_user.registrar, api_user)
|
||||
click_link_or_button 'Edit'
|
||||
fill_in 'Username', with: new_username
|
||||
click_link_or_button 'Save'
|
||||
click_link_or_button 'Update API user'
|
||||
|
||||
assert_text 'Record updated'
|
||||
assert_text "Username #{new_username}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue