api1: title: 获取用户信息 url: /api/v1/customerService/getCustomerServiceInfo?v=${v} method: get expected: - eq: {"$.code": 0} - eq: {"$.data.brandId": "${brandId}"} - eq: {"$.data.brandName": "${brandName}"} - eq: {"$.data.email": "${email}"} - eq: {"$.data.id": "${userId}"} - eq: {"$.data.name": "${name}"} api2: title: ossToken接口检查 url: /api/v1/file/getOssToken?v=${v} method: get expected: - eq: {"$.code": 0} api3: title: 检查首页banner广告 url: /api/v1/index/interestingRecommend?v=${v} method: get before_sql: homepage/homepage_banner_ad_select.py expected: - eq: {"$.code": 0} - eq: {"$.data.bannerList[0].title": "${ad_1_title}"} - eq: {"$.data.bannerList[0].url": "${ad_1_url}"} - eq: {"$.data.bannerList[0].pic": "${ad_1_pic}"} - eq: {"$.data.bannerList[0].target": "${ad_1_target}"} - eq: {"$.data.bannerList[1].title": "${ad_2_title}"} - eq: {"$.data.bannerList[1].url": "${ad_2_url}"} - eq: {"$.data.bannerList[1].pic": "${ad_2_pic}"} - eq: {"$.data.bannerList[1].target": "${ad_2_target}"} - eq: {"$.data.bannerList[2].title": "${ad_3_title}"} - eq: {"$.data.bannerList[2].url": "${ad_3_url}"} - eq: {"$.data.bannerList[2].pic": "${ad_3_pic}"} - eq: {"$.data.bannerList[2].target": "${ad_3_target}"} api4: title: 检查引导页步骤 url: /api/v1/setting/checkGettingStep?v=${v} method: get before_sql: homepage/brand_step_select.py expected: - eq: {"$.code": 0} - eq: {"$.data.gettingStep": "${step}"} api5: title: 检查首页tarbar文案 url: /api/v1/businessPlan/getTarBarNotice method: post data: {"position":"home","v":"${v}"} before_sql: homepage/homepage_tarbar_content_select.py expected: - eq: {"$.code": 0} - eq: {"$.data.content": "${tarbar_content}"} api6: title: 检查Google测速接口是否ping通 url: https://api-admin.seoant.com/open-api/getPageSpeedDataByGoogle?domain=${shopDomain}&is_refresh=0 method: get expected: - eq: {"$.code": 200} api7: title: 检查exec接口 url: /api/v1/autoanswer/execPostRule method: post data: {"eventId":"cjhd9umein6c1gkes7ug","shopDomain":"willdesktest-system.myshopify.com","ruleData":{"ruleCondList":[{"condList":[{"robId":"cjhdpumein6edbdndpkg","objName":"ChatBotWorkingHours","objDescribe":"Working hours","objType":"bool","objValue":"true","showType":"","showKind":"","showPlaceholder":""},{"robId":"cjksanuein6akm1n0020","objName":"ChatBotCurrentUrl","objDescribe":"Current URL","objType":"string","objValue":"https://hstest.sealapps.com/helpdesk/home","showType":"","showKind":"url","showPlaceholder":""},{"robId":"cjhd9umein6c1gkes7ug","objName":"ChatBotCustomerVisitsPage","objType":"bool","objValue":"true","showType":"","showKind":"","objDescribe":"ChatBotCustomerVisitsPage"}]}]}} expected: - eq: {"$.code": 0} api8: title: 检查willdesk客服接口 url: /api/v1/customerService/listPublicCustomerService method: post data: {"shopId": "${willdesk_brand_id}"} before_sql: homepage/willdesk_customer_service_select.py expected: - eq: { "$.code": 0 } - eq: { "$.data.list[?(@.id == ${cs_id})].name": "${cs_name}" } - eq: { "$.data.list[?(@.id == ${cs_id})].profile": "${cs_profile}" } - eq: { "$.data.list[?(@.id == ${cs_id})].isActive": 1 } - eq: { "$.data.list[?(@.id == ${cs_id})].customerType": "${cs_customer_type}" } - exec: {"code": "assert len(res.json()['data']['list']) == ${cs_num}"} api9: title: 检查未读消息数量 url: /api/v1/chatRoom/noReply method: post data: {"uid":"${userId}","uType":2,"platform":1,"cateId":"${brandId}","v":"${v}"} before_sql: homepage/no_reply_select.py expected: - eq: {"$.code": 0} - eq: {"$.data.total": "${no_reply_num}"} api10: title: 检查advConfig接口 url: /api/v1/shop/getAdvConfig?v=${v} method: get expected: - eq: {"$.code": 0}