Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,13 @@ export async function getWebview(viewName: string, page: ExtendedPage) {

export async function createProject(page: ExtendedPage, projectName?: string) {
console.log('Creating new project');

// Execute bal pull command before project creation
await executeBallPullCommand();

await setupBallerinaIntegrator();
const webview = await getWebview('WSO2 Integrator: BI', page);
if (!webview) {
throw new Error('WSO2 Integrator: BI webview not found');
}
// HACK: Execute bal pull command before project creation
await executeBallPullCommand();
const form = new Form(page.page, 'WSO2 Integrator: BI', webview);
await form.switchToFormView(false, webview);
await form.fill({
Expand Down