From 6689a206a08a8a0d9143e2b554b7baba41d736b6 Mon Sep 17 00:00:00 2001 From: parthp2107 <83201188+parthp2107@users.noreply.github.com> Date: Tue, 7 Dec 2021 12:48:01 +0530 Subject: [PATCH] added new tests and links (#1598) --- docs/selenium/selenium-test-doc.md | 32 ++++++++++++++++-------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/docs/selenium/selenium-test-doc.md b/docs/selenium/selenium-test-doc.md index 79e00754eb8..5a2e842801e 100644 --- a/docs/selenium/selenium-test-doc.md +++ b/docs/selenium/selenium-test-doc.md @@ -4,7 +4,7 @@ ## Pages Tests: -### MyData Page: +### [MyData Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/myData/MyDataPageTest.java): * **checkWhatsNew** - Checks the What's New Modal. * **checkTabs** - Checks the 'My Data' and 'Following' tabs are clickable. * **checkOverView** - Checks all the entity references. @@ -15,14 +15,14 @@ under 'My Data' tab. * **checkFollowingTab** - Follows a table and checks if the table-link is displayed/available under 'Following' tab. * **checkLogout** - Checks the logout functionality. -### Teams Page +### [Teams Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/teams/TeamsPageTest.java): * **openTeamsPage** - Helps to navigate to Teams page to other tests. * **createTeam** - Creates the new team. * **addUser** - Adds the user to above create team. * **editDescription** - Adds/edits the description of the created team. * **addAsset** - Adds the asset i.e. gives ownership of table to the created team and verifies under asset tab. -### Tags Page +### [Tags Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/tags/TagsPageTest.java): * **openTagsPage** - Helps to navigate to Tags page to other tests. * **addTagCategory** - Adds/Creates a Tag Category. * **editTagCategoryDescription** - Adds/edits the description of the created tag category. @@ -32,7 +32,7 @@ under 'My Data' tab. * **removeAssociatedTag** - Removes an associated tag to the created tag. * **addTagToTableColumn** - Assigns the created tag to the table column(s). -### Table Details Page +### [Table Details Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/tableDetails/TableDetailsPageTest.java): * **openExplorePage** - Helps to navigate to Explore page to other tests. * **checkTabs** - Checks all the entity tabs available on the explore page. * **editDescription** - Edits the description of the table. @@ -47,7 +47,7 @@ under 'My Data' tab. * **checkFrequentlyJoinedTables** - Checks frequently joined tables. * **checkFrequentlyJoinedColumns** - Checks frequently joined columns. -### Dashboard Details Page +### [Dashboard Details Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/dashboardDetails/DashboardDetailsPageTest.java): * **openExplorePage** - Helps to navigate to Explore page to other tests. * **editDescription** - Edits the description of the dashboard. * **addTags** - Adds tags to dashboard. @@ -58,7 +58,7 @@ under 'My Data' tab. * **checkManage** - Checks the manage tab in details page. Assigns the Ownership and tire to the table. * **checkBreadCrumb** - Checks bread crumb i.e. checks the dashboards and service reference links. -### Pipeline Details Page +### [Pipeline Details Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/pipelineDetails/PipelineDetailsPageTest.java): * **openExplorePage** - Helps to navigate to Explore page to other tests. * **editDescription** - Edits the description of the pipeline. * **addTags** - Adds tags to pipeline. @@ -68,7 +68,7 @@ under 'My Data' tab. * **checkManage** - Checks the manage tab in details page. Assigns the Ownership and tire to the pipeline. * **checkBreadCrumb** - Checks bread crumb i.e. checks the pipeline and service reference links. -### Topic Details Page +### [Topic Details Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/topicDetails/TopicDetailsPageTest.java): * **openExplorePage** - Helps to navigate to Explore page to other tests. * **checkTabs** - Checks the tabs available in topic details page. * **checkFollow** - Clicks on follow button and checks the follow count. @@ -78,7 +78,7 @@ under 'My Data' tab. * **checkManage** - Checks the manage tab in details page. Assigns the Ownership and tire to the topic. * **checkBreadCrumb** - Checks bread crumb i.e. checks the topic and service reference links. -### Database Service Page +### [Database Service Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/databaseService/DatabaseServicePageTest.java): * **openDatabaseServicePage** - Helps to navigate to Database Service page to other tests. * **addDatabaseService** - Adds a database service. * **editDatabaseService** - Edits the config in the created database service. @@ -86,7 +86,7 @@ under 'My Data' tab. * **searchDatabaseService** - Performs a search action for database service. * **deleteDatabaseService** - Deletes the database service. -### Dashboard Service Page +### [Dashboard Service Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/dashboardService/DashboardServiceTestPage.java): * **openDashboardServicePage** - Helps to navigate to Dashboard Service page to other tests. * **addDashboardService** - Adds a dashboard service. * **editDashboardService** - Edits the config in the created dashboard service. @@ -94,7 +94,7 @@ under 'My Data' tab. * **searchDashboardService** - Performs a search action for dashboard service. * **deleteDashboardService** - Deletes the dashboard service. -### Pipeline Service Page +### [Pipeline Service Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/pipelineService/PipelineServiceTestPage.java): * **openPipelineServicePage** - Helps to navigate to Pipeline Service page to other tests. * **addPipelineService** - Adds a pipeline service. * **editPipelineService** - Edits the config in the created pipeline service. @@ -102,7 +102,7 @@ under 'My Data' tab. * **searchPipelineService** - Performs a search action for pipeline service. * **deletePipelineService** - Deletes the pipeline service. -### Messaging Service Page +### [Messaging Service Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/messagingService/MessagingServicePageTest.java): * **openMessagingServicePage** - Helps to navigate to Messaging Service page to other tests. * **addMessagingService** - Adds a messaging service. * **editMessagingService** - Edits the config in the created messaging service. @@ -110,14 +110,14 @@ under 'My Data' tab. * **searchMessagingService** - Performs a search action for messaging service. * **deleteMessagingService** - Deletes the messaging service. -### Ingestion Page +### [Ingestion Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/ingestion/IngestionPageTest.java): * **openIngestionPage** - Helps to navigate to Ingestion page to other tests. * **addIngestionService** - Creates/Adds Ingestion service. * **runIngestionService** - Runs the created ingestion service. * **editIngestionService** - Edits the config of the created ingestion service. * **deleteIngestionService** - Deletes the created ingestion service. -### Dbt Model Details Page +### [Dbt Model Details Page](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/dbtModelDetails/DbtModelDetailsPageTest.java): * **openDbtModelPage** - Helps to navigate to Dtb Model page to other tests. * **editDescription** - Edits description of the model. * **editColumnDescription** - Edits description of the columns. @@ -125,5 +125,7 @@ under 'My Data' tab. * **removeColumnTag** - Removes tags from column. * **checkManage** - Checks the manage tab in details page. Assigns the Ownership and tire to the model. -### Common -* **checkFlikerInFilter** - Checks for message 'No matching data assets found' while applying filter. \ No newline at end of file +### [Common](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/common/PaginationAndFilterTest.java): +* **checkFlikerInFilter** - Checks for message 'No matching data assets found' while applying filter. +* **noDataPresentWithFilter** - Applies the filter with data and checks if the data is visible +* **dataPresentWithFilter** - Applies the filter with no data and checks for 'No matching data assets found'. \ No newline at end of file