FS002.yml 1.4 KB
config:
    name: APP端首页-进行中数量统计-待发布状态不统计
    base_url: ${ENV(base_url)}

teststeps:

-   name: 第一次登录系统
    testcase: testcases/common/login_testcases.yml

-   name: 第一次登录价值系统
    testcase: testcases/common/COM001_task_login_testcases.yml

-   name: 第一次查看公司任务(进行中)
    api: api/app_api/task_currentTasks_1_api.yml
    variables:
        task_total1: ${get_task_3_total()}
    teardown_hooks:
        - ${teardown_hook_get_task_3_1_total($response)}
    varidate:
        validate:
            - eq:
                - content.msg
                - 获取成功

-   name: B用户登录管理后台,新增一个待发布的任务
    variables:
        username: ${ENV(appphone1)}
    testcase: testcases/common/COM007_loot_update_status_1_testcase.yml

#-   name: 第二次登录系统
#    testcase: testcases/common/login_testcases.yml
#
#-   name: 第二次登录价值系统
#    testcase: testcases/common/COM001_task_login_testcases.yml

-   name: 第二次查看公司任务(进行中)
    api: api/app_api/task_currentTasks_2_api.yml
    variables:
        task_total2: ${get_task_3_2_total()}
    teardown_hooks:
        - ${teardown_hook_get_task_3_2_total($response)}
    varidate:
        validate:
            - eq:
                - content.msg
                - 获取成功
            - eq:
#                - $task_total1
#                - $task_total2