Files
apiautotest/interface/pms/projects/project/test_pms_delete_project.yaml
2024-04-09 11:44:17 +08:00

46 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
case_common:
allure_epic: 项目管理
allure_feature: 项目
allure_story: 项目
case_markers:
- pms
- pms_project
- usefixtures: gitlink_login
# 前提条件:当前存在组织, 组织下存在项目
common_dependence:
setup:
interface:
# 获取可选项目负责人列表
- pms_get_project_user_list_01
# 获取组织下成员,可选择作为项目成员
- pms_get_enterprise_user_list_01
# 新建项目
- pms_new_project_02
# 根据项目名称获取项目id
- pms_get_project_list_by_name_02
case_info:
-
id: pms_delete_project_01
title: 组织下删除项目接口
run: True
severity: blocker
url: ${pms_host}/api/pms/${env_enterprise_identifier}/pmsProject/${pms_project_id}
method: DELETE
headers:
Content-Type: application/json; charset=utf-8;
cookies: ${cookies}
request_type: json
payload:
files:
assert_response:
status_code: 200
assertMessage:
type_jsonpath: $.msg
expect_value: 操作成功
assert_type: ==
assert_sql:
extract:
case_dependence: