Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature][Test]Add E2E Test Programing process #4036

Merged
merged 36 commits into from
Dec 13, 2024

Conversation

zackyoungh
Copy link
Contributor

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

@zackyoungh zackyoungh added the New Feature New feature label Dec 11, 2024
@zackyoungh zackyoungh added this to the 1.2.0 milestone Dec 11, 2024
@zackyoungh zackyoungh self-assigned this Dec 11, 2024
@zackyoungh zackyoungh marked this pull request as ready for review December 11, 2024 05:06
@zackyoungh zackyoungh linked an issue Dec 11, 2024 that may be closed by this pull request
3 tasks
Comment on lines 29 to 36
})
assertRespOk(add_parent_dir_resp, "创建主测试路径")
get_all_tasks_resp = session.post(url("api/catalogue/getCatalogueTreeData"), json={
"sortValue": "",
"sortType": ""
})
assertRespOk(get_all_tasks_resp, "获取作业详情")
data_list: list[dict] = get_all_tasks_resp.json()['data']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use English.

Comment on lines 58 to 71
})
assertRespOk(add_parent_dir_resp, "创建作业")
get_all_tasks_resp = session.post(url("api/catalogue/getCatalogueTreeData"), json={
"sortValue": "",
"sortType": ""
})
assertRespOk(get_all_tasks_resp, "获取作业详情")
data_list: list[dict] = get_all_tasks_resp.json()['data']
return getTask(data_list, name)


def runTask(session: requests.Session, taskId: int):
run_task_resp = session.get(url(f"api/task/submitTask?id={taskId}"))
assertRespOk(run_task_resp, "运行Task")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use English.

Copy link
Contributor

@aiwenmo aiwenmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aiwenmo aiwenmo merged commit 59c142e into DataLinkDC:dev Dec 13, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature][Test] E2E Automated testing list
2 participants