From d72ab5d2b72166453abf18cd140ae4859849eaad Mon Sep 17 00:00:00 2001 From: Huseyin BABAL Date: Mon, 28 Aug 2023 14:07:01 +0300 Subject: [PATCH] executor and alias list fix --- test/e2e/bots_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/e2e/bots_test.go b/test/e2e/bots_test.go index 3a96fd97c..1cf4318c9 100644 --- a/test/e2e/bots_test.go +++ b/test/e2e/bots_test.go @@ -1301,14 +1301,14 @@ func runCloudBotTest(t *testing.T, } t.Cleanup(func() { for !botkubeDeploymentUninstalled { - t.Log("Waiting for Helm chart uninstallation, in order to proceed with deleting the first deployment...") + t.Log("Waiting for Helm chart uninstallation, in order to proceed with deleting Botkube Cloud instance...") time.Sleep(1 * time.Second) } t.Log("Helm chart uninstalled. Waiting a bit...") time.Sleep(30 * time.Second) - t.Log("Deleting first deployment...") + t.Log("Deleting Botkube Cloud instance...") gqlCli.MustDeleteDeployment(t, graphql.ID(deployment.ID)) }) @@ -2124,8 +2124,8 @@ func runCloudBotTest(t *testing.T, command := "list executors" expectedBody := codeBlock(heredoc.Doc(` EXECUTOR ENABLED ALIASES - botkube/echo true - botkube/helm true + botkube/echo true e + botkube/helm true botkube/kubectl true k, kc`)) expectedMessage := fmt.Sprintf("%s\n%s", cmdHeader(command), expectedBody) @@ -2138,6 +2138,7 @@ func runCloudBotTest(t *testing.T, command := "list aliases" expectedBody := codeBlock(heredoc.Doc(` ALIAS COMMAND DISPLAY NAME + e echo k kubectl Kubectl alias kc kubectl Kubectl alias kgda kubectl get deployments -A Get Deployments