Skip to content

Commit

Permalink
adding method
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbysunil14 committed Jan 13, 2025
1 parent 3e3f1a4 commit e99fe8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/GradleTestDevModeActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ it('start gradle with docker from liberty dashboard', async () => {
}


await utils.launchDashboardAction(item, constants.START_DASHBOARD_ACTION_WITHDOCKER, constants.START_DASHBOARD_MAC_ACTION_WITHDOCKER);
await utils.launchDockerAction(item, constants.START_DASHBOARD_MAC_ACTION_WITHDOCKER);
await utils.delay(60000);
const serverStartStatus = await utils.checkTerminalforServerState(constants.SERVER_START_STRING);
if(!serverStartStatus)
Expand Down
5 changes: 5 additions & 0 deletions src/test/utils/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export function getMvnProjectPath(): string {
}

}

export async function launchDockerAction(item: DefaultTreeItem, action: string) {
console.log("Launching docker action:" + action);
await MapContextMenuforMac( item,action);
}


export async function setCustomParameter(customParam: string) {
Expand Down

0 comments on commit e99fe8b

Please sign in to comment.