Skip to content

[Feature][e2e] datasource test cases #7311

@janeHe13

Description

@janeHe13

Search before asking

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

Description

Task status function module test point priority service test steps expected results actual results remarks
  • finish
data source list create MySQL data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select MySQL
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create PostgreSQL data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select PostgreSQL as the data source type (database name is not verified) < br > 3 Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create hive / impala data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select hive / impala
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create spark data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select spark
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create Clickhouse data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select Clickhouse
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create Oracle data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select Oracle
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create sqlserver data source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select sqlserver
3 as the data source type Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list create DB2 Data Source P1 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select DB2 as the data source type
3 Edit data source information
4 Click the "test connection" button to test the connection
5 Click "submit"
1 The test connection failed and the data source information cannot be saved
2 Test connection passed, save data source information, t_ ds_ Add a new data item to the datasource table
  • finish
data source list cancel creating data source P3 start API service 1 Enter the data source center page and click "create data source" to pop up a pop-up box
2 Select a data source type
3 Edit data source information
4 Click "Cancel" to cancel the creation of data source
  • finish
data source list view data source parameters P3 start API service 1 Enter the data source center page, click the "click to view" button under the data source parameters display the database related information, and password encryption
  • finish
data source list edit data source P1 start API service 1 Enter the data source center page and click Edit to open the edit data source pop-up box
2 Edit data source information
3 Click the "test connection" button to test the connection
4 Click the "Edit" button < br >
1 If the test connection fails, the data source information will not be updated
2 Test connection passed, t_ ds_ The datasource table updates the data source information
  • finish
data source list cancel editing data source P3 start API service 1 Enter the data source center page and click Edit to open the edit data source pop-up box
2 Edit data source information
3 Click the "Cancel" button < br >
cancel the data source editing, and the data source information will not be updated
  • finish
data source list delete data source P1 start API service enter the data source center page and click the "delete" button delete data source
  • finish
data source list query data source P1 start API service enter the data source center page, enter the data source name, and click the "query" button data source name supports fuzzy query: < br > 1 Query no data, and the data source list displays no data
2 The query has data, and the data source list displays the data correctly
  • finish
data source list verify paging controls, no more than 10 P2 start API service 1 Select 10 pieces / page, no more than 10 pieces of data, and view the pagination display
2 Select 30 pieces / page, no more than 30 pieces of data, and view the pagination display
3 Select 50 pieces / page, no more than 50 pieces of data, and view the pagination display
1 Select 10 pieces / page, no more than 10 pieces of data, and 1 page displays
2 Select 30 pieces / page, no more than 30 pieces of data, and 1 page displays
3 Select 50 pieces / page, no more than 50 pieces of data, and one page displays
  • finish
data source list verify paging controls, more than 10 P2 start API service 1 Select 10 pieces / page, more than 10 pieces of data, and view the pagination display
2 Select 30 pieces / page and more than 30 pieces of data to view the pagination display
3 Select 50 pieces / page, more than 50 pieces of data, and view the pagination display
1 Select 10 pieces / page. If there are more than 10 pieces of data, turn the page to display
2 Select 30 pieces / page. If more than 30 pieces of data are selected, the page will turn to display
3 Select 50 pieces / page, and more than 50 pieces of data will be displayed on the page
  • finish
data source list verify the > button of paging control P2 start API service click the > button to view paging display page Jump to the next page
  • finish
data source list verify the < button of paging control P2 start API service click the < button to view paging display page Jump to the previous page
  • finish
data source list verify the input box of the paging control P2 start the API service enter the number of pages, view the paging display page Jump to the page where the page number is entered

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2ee2e testfeaturenew featurehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions