diff --git a/test/e2e/plugin_sync/plugin_sync_lifecycle_test.go b/test/e2e/plugin_sync/plugin_sync_lifecycle_test.go index 0137e5e5e..651257d37 100644 --- a/test/e2e/plugin_sync/plugin_sync_lifecycle_test.go +++ b/test/e2e/plugin_sync/plugin_sync_lifecycle_test.go @@ -16,7 +16,7 @@ import ( var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", func() { - // Use case 1: create a KIND cluster, don't apply CRD and CRs + // Use case 1: create a KIND cluster, don't apply CRD and CRs, create context, make sure no plugins are installed // a. create k8s context for the KIND cluster // b. create context and validate current active context // c. list plugins and make sure no plugins installed @@ -56,7 +56,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", }) }) - // Use case 2: Create context, should install all plugins, uninstall the specific plugin, and perform plugin sync: + // Use case 2: Create kind cluster, apply CRD and CRs, create context, should install all plugins, uninstall the specific plugin, and perform plugin sync: // Steps: // a. create KIND cluster, apply CRD // b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins @@ -135,7 +135,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", Expect(err).To(BeNil(), "kind cluster should be deleted without any error") }) }) - // Use case 3: test plugin sync when central repo does not have all plugin CRs being applied in KIND cluster + // Use case 3: Test plugin sync when central repo does not have all plugin CRs being applied in KIND cluster // Steps: // a. create KIND cluster // b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins which are available in centra repo and CR's for plugins which are not available in central repo @@ -210,7 +210,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", }) }) - // Use case 4: test delete context use case + // Use case 4: test delete context use case, it should uninstall plugins installed for the context // Steps: // a. create KIND cluster // b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins @@ -269,7 +269,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", }) }) - // Use case 5: test switch context use case, make installed cluster are updated as per the context + // Use case 5: test switch context use case, make installed plugins should be updated as per the context // Steps: // a. create KIND clusters // b. for both clusters, apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins