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] Add end-to-end test framework and some basic cases #3737

Open
3 tasks done
SbloodyS opened this issue Jun 3, 2024 · 9 comments
Open
3 tasks done

[Feature] Add end-to-end test framework and some basic cases #3737

SbloodyS opened this issue Jun 3, 2024 · 9 comments
Labels
feature/accepted This feature request is accepted

Comments

@SbloodyS
Copy link
Member

SbloodyS commented Jun 3, 2024

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

Reason:

  1. Make sure that every time you submit new code, existing functions will not be affected.
  2. Supplement the lack of unit testing, the connectivity between user's frontend and interfaces.

Process:

  • Sort out the overall use cases of DS, including: project management, resource management, security center, data source center.
  • Hierarchical use cases above: P0, P1, P2, P3.
  • We give priority to converting P0 level use cases into E2E automation test cases.

Current Test cases

System page

Module Test Cases Priority issue status
User Management createUser/deleteUser/editUser P0 #3740
Token Management createToken/deleteToken/editToken P1 #3812
Role Management createRole/deleteRole/editRole P1 #3811
Team Management createTeam/deleteTeam/editTeam P0 #3740
Member Management createMember/deleteMember/editMember P1 #3813
Menu Management createMenu/deleteMenu/editMenu P2

Streampark page

Module Mode Version Test Cases Priority issue status
Application Flink on Yarn per job mode with FlinkSQL Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication P0 #3754
Application Flink on Yarn Application with FlinkSQL Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication P0 #3754
Application Flink on Yarn per job mode with FlinkSQL Flink 1.16/1.17/1.18 stopApplication/restartApplication P0 #3809
Application Flink on Yarn Application with FlinkSQL Flink 1.16/1.17/1.18 stopApplication/restartApplication P0 #3809
Application Flink on Yarn yarn session with FlinkSQL Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0 #3861
Application Flink on K8S application with FlinkSQL Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0 #3769
Application Flink on Flink Cluster with FlinkSQL Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0
Application Flink on Yarn per job mode with Flink Jar Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0 #3851
Application Flink on Yarn Application with Flink Jar Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0 #3851
Application Flink on Yarn yarn session with Flink Jar Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0
Application Flink on K8S application with Flink Jar Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0 #3769
Application Flink on Flink Cluster with Flink Jar Flink 1.16/1.17/1.18 createApplication /deleteApplication/editApplication/stopApplication/restartApplication P0
Flink Home createFlinkHome/deleteFlinkHome/editFlinkHome P0 #3754
Cluster Flink On Yarn createCluster/startCluster/stopCluster/deleteCluster/editCluster P0 #3862
Cluster Flink On Remote createCluster/startCluster/stopCluster/deleteCluster/editCluster P0
Cluster Flink On K8S createCluster/startCluster/stopCluster/deleteCluster/editCluster P0

Setting page

Module Test Cases Priority issue status
Environment create/edit/delete P1 #3853
Alarm create/edit/delete P1 #3854
External Link create/edit/delete P2 #3855
Yarn Queue create/edit/delete P1 #3856

Resources page

Module Test Cases Priority issue status
Upload create/edit/delete P1 #3830
Project create/edit/delete P1 #3831
Variables create/edit/delete P2 #3832

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wolfboys
Copy link
Member

wolfboys commented Jun 4, 2024

That sounds great, Perhaps we should create a few subtasks. Is there a complete solution for end-to-end testing? You can start a discussion in the email.

@wolfboys wolfboys added the feature/accepted This feature request is accepted label Jun 4, 2024
@zzzk1
Copy link
Contributor

zzzk1 commented Jun 22, 2024

hi, @SbloodyS. Need help? I would like to pick Menu Management part.

@SbloodyS
Copy link
Member Author

hi, @SbloodyS. Need help? I would like to pick Menu Management part.

That's great! Looking forward to your contribution.

@zzzk1
Copy link
Contributor

zzzk1 commented Jun 27, 2024

hi @SbloodyS, this time I want to pick up part of system page left.

@SbloodyS
Copy link
Member Author

hi @SbloodyS, this time I want to pick up part of system page left.

Done.

@zzzk1
Copy link
Contributor

zzzk1 commented Jul 4, 2024

Hi @SbloodyS, I want to pick up the Resource sub task.

@SbloodyS
Copy link
Member Author

SbloodyS commented Jul 4, 2024

@SbloodyS
Copy link
Member Author

Hi @SbloodyS, I want to pick up the Setting sub task this time~

I see the last assignment you claimed hasn't been merged yet. We should polish it until we can merge it and take the new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/accepted This feature request is accepted
Projects
None yet
Development

No branches or pull requests

3 participants