25_删除购物车列表.yaml 610 B

12345678910111213141516171819202122232425
  1. process: G1--P
  2. desc: 删除购物车成功
  3. featureName: 购物车模块
  4. storyName: 订单模块
  5. remark: 查看购物车模块备注
  6. steps:
  7. - 发送Post请求:
  8. 关键字: request_post_form_urlencoded
  9. URL: "{{URL}}"
  10. PARAMS:
  11. s: api/cart/delete
  12. application: app
  13. token: "{{msg_token}}"
  14. DATA:
  15. id: "{{card_id_1}}"
  16. - 通过JSONPATH提取数据-MSG:
  17. 关键字: ex_jsonData
  18. EXVALUE: $..msg
  19. INDEX: 0
  20. VARNAME: msg_success
  21. - 断言-文本断言-等于:
  22. 关键字: assert_text_comparators
  23. VALUE: "{{msg_success}}"
  24. EXPECTED: 删除成功
  25. OP_STR: ==