From 34d992d5aabe049eec125f8d723f43f3abf77898 Mon Sep 17 00:00:00 2001 From: Ivan_Chen Date: Mon, 29 Apr 2024 11:17:28 +0800 Subject: [PATCH] test: add docker sample --- .../ui-test/samples/sample-remotedebug-bot-sso-docker.test.ts | 4 +++- packages/tests/src/ui-test/samples/sampleCaseFactory.ts | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/tests/src/ui-test/samples/sample-remotedebug-bot-sso-docker.test.ts b/packages/tests/src/ui-test/samples/sample-remotedebug-bot-sso-docker.test.ts index b1daadba1c..f87e6a6cce 100644 --- a/packages/tests/src/ui-test/samples/sample-remotedebug-bot-sso-docker.test.ts +++ b/packages/tests/src/ui-test/samples/sample-remotedebug-bot-sso-docker.test.ts @@ -24,5 +24,7 @@ new BotSSODockerTestCase( TemplateProject.BotSSODocker, 27852471, "v-ivanchen@microsoft.com", - "dev" + "dev", + undefined, + { container: true } ).test(); diff --git a/packages/tests/src/ui-test/samples/sampleCaseFactory.ts b/packages/tests/src/ui-test/samples/sampleCaseFactory.ts index 666a1de4d2..a4c8a2b530 100644 --- a/packages/tests/src/ui-test/samples/sampleCaseFactory.ts +++ b/packages/tests/src/ui-test/samples/sampleCaseFactory.ts @@ -375,6 +375,9 @@ export abstract class CaseFactory { sampledebugContext.appName, sampledebugContext.projectPath ); + if (options?.container) { + await Executor.login(); + } await sampledebugContext.deployProject( sampledebugContext.projectPath, Timeout.botDeploy