ADMIN002_edit_admin_testcases.yml
431 字节
config:
name: 编辑管理员
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_admin_account_from_database(admin_user)}
teardown_hooks:
- ${sleep(2)}
teststeps:
- name: $phone 登录系统
testcase: testcases/m_login_testcases.yml
- name: $phone 管理员编辑
api: api/m_api/admin/m_admin_update(edit)_api.yml
validate:
- eq:
- content.msg
- ok