Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

删除优化 #40

Merged
merged 5 commits into from
Jan 9, 2022
Merged

Conversation

JayWenStar
Copy link
Contributor

SonicCloudOrg/sonic-server#108

  • 删除控件检查接口返回样例(返回引用了控件的测试步骤及步骤所属用例):
{
    "code": 2000,
    "message": "查询成功!",
    "data": [
        {
            "id": 4,
            "projectId": 1,
            "publicStepsId": null,
            "caseId": 1,
            "platform": 1,
            "stepType": "click",
            "content": "",
            "text": "",
            "sort": 4,
            "error": 3,
            "elements": null,
            "testCasesDTO": {
                "id": 1,
                "name": "B站用例1",
                "platform": 1,
                "projectId": 1,
                "module": "",
                "version": "",
                "des": "",
                "designer": "admin",
                "editTime": "2022-01-09 01:32:19"
            }
        },
        {
            "id": 14,
            "projectId": 1,
            "publicStepsId": null,
            "caseId": 2,
            "platform": 1,
            "stepType": "click",
            "content": "",
            "text": "",
            "sort": 14,
            "error": 3,
            "elements": null,
            "testCasesDTO": {
                "id": 2,
                "name": "B站用例2",
                "platform": 1,
                "projectId": 1,
                "module": "",
                "version": "",
                "des": "",
                "designer": "admin",
                "editTime": "2022-01-09 02:14:34"
            }
        }
    ]
}
  • 删除步骤检查接口返回样例(返回引用了步骤的公共步骤):
{
    "code": 2000,
    "message": "查询成功!",
    "data": [
        {
            "id": 1,
            "name": "公共步骤1",
            "platform": 1,
            "projectId": 1
        },
        {
            "id": 2,
            "name": "公共步骤2",
            "platform": 1,
            "projectId": 1
        }
    ]
}
  • 删除用例检查接口返回样例(返回引用了用例的套件):
{
    "code": 2000,
    "message": "查询成功!",
    "data": [
        {
            "id": 1,
            "cover": 1,
            "name": "B站套件1",
            "platform": 1,
            "projectId": 1
        },
        {
            "id": 1,
            "cover": 1,
            "name": "B站套件1",
            "platform": 1,
            "projectId": 1
        }
    ]
}
  • 删除公共步骤检查接口返回样例(返回引用了公共步骤的用例):
{
    "code": 2000,
    "message": "查询成功!",
    "data": [
        {
            "id": 1,
            "des": "",
            "designer": "admin",
            "editTime": "2022-01-09 01:32:19",
            "module": "",
            "name": "B站用例1",
            "platform": 1,
            "projectId": 1,
            "version": ""
        },
        {
            "id": 2,
            "des": "",
            "designer": "admin",
            "editTime": "2022-01-09 02:14:34",
            "module": "",
            "name": "B站用例2",
            "platform": 1,
            "projectId": 1,
            "version": ""
        }
    ]
}

@ZhouYixun ZhouYixun merged commit a0d572a into SonicCloudOrg:dev Jan 9, 2022
@JayWenStar JayWenStar deleted the delete_optimization branch January 9, 2022 05:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants