Skip to content

Commit ad8ac4a

Browse files
authored
Update welcome views (#1524)
## Changes Follow up to #1519 <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? -->
1 parent c0de2e6 commit ad8ac4a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/databricks-vscode/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,22 +451,22 @@
451451
},
452452
{
453453
"view": "configurationView",
454-
"contents": "Detected multiple Databricks projects in the VSCode workspace:\n[Select a project](command:databricks.bundle.selectActiveProjectFolder)",
454+
"contents": "Multiple Databricks projects were detected in the workspace:\n[Choose a project](command:databricks.bundle.selectActiveProjectFolder)",
455455
"when": "workspaceFolderCount > 0 && databricks.context.initialized && databricks.context.subProjectsAvailable"
456456
},
457457
{
458458
"view": "configurationView",
459-
"contents": "No Databricks project configuration detected in the root of the VSCode workspace:\n[Create configuration](command:databricks.bundle.startManualMigration)",
459+
"contents": "Databricks project configuration was not detected in the root of the workspace:\n[Create configuration](command:databricks.bundle.startManualMigration)",
460460
"when": "workspaceFolderCount > 0 && databricks.context.initialized && databricks.context.pendingManualMigration"
461461
},
462462
{
463463
"view": "configurationView",
464-
"contents": "No Databricks projects detected in the VSCode workspace:\n[Select a project manually](command:databricks.bundle.selectActiveProjectFolder)",
464+
"contents": "A Databricks project was not detected in the workspace:\n[Select a project](command:databricks.bundle.selectActiveProjectFolder)",
465465
"when": "workspaceFolderCount > 0 && databricks.context.initialized && !databricks.context.isBundleProject && !databricks.context.subProjectsAvailable"
466466
},
467467
{
468468
"view": "configurationView",
469-
"contents": "Chose a new parent folder and create a Databricks project based on a [template](https://docs.databricks.com/en/dev-tools/bundles/templates.html#databricks-asset-bundle-project-templates):\n[Create a new project](command:databricks.bundle.initNewProject)",
469+
"contents": "Select a folder where you want to create a new Databricks project using a [template](https://docs.databricks.com/en/dev-tools/bundles/templates.html#databricks-asset-bundle-project-templates):\n[Create a new project](command:databricks.bundle.initNewProject)",
470470
"when": "workspaceFolderCount > 0 && databricks.context.initialized && !databricks.context.isBundleProject"
471471
},
472472
{
@@ -486,7 +486,7 @@
486486
},
487487
{
488488
"view": "configurationView",
489-
"contents": "To learn more about how to use Databricks with VS Code [read our docs](https://docs.databricks.com/dev-tools/vscode-ext.html) or [Quickstart guide](command:databricks.quickstart.open)"
489+
"contents": "To learn more about how to use the Databricks extension for Visual Studio Code [read our docs](https://docs.databricks.com/dev-tools/vscode-ext.html) or [Quickstart guide](command:databricks.quickstart.open)"
490490
}
491491
],
492492
"menus": {

packages/databricks-vscode/src/test/e2e/bundle_sub_folder.e2e.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ describe("Bundle in a sub folder", async function () {
5959
"Selecting Databricks Project Folder through the welcome screen UI"
6060
);
6161
const section = await getViewSection("CONFIGURATION");
62-
const selectProjectButton = await browser.waitUntil(
62+
const chooseProjectButton = await browser.waitUntil(
6363
async () => {
6464
const welcome = await section!.findWelcomeContent();
6565
const buttons = await welcome!.getButtons();
6666
for (const button of buttons) {
6767
const title = await button.getTitle();
68-
if (title === "Select a project") {
68+
if (title === "Choose a project") {
6969
return button;
7070
}
7171
}
7272
}
7373
);
7474
assert(
75-
selectProjectButton,
76-
"'Select a project' button doesn't exist"
75+
chooseProjectButton,
76+
"'Choose a project' button doesn't exist"
7777
);
78-
await selectProjectButton.elem.click();
78+
await chooseProjectButton.elem.click();
7979
} else {
8080
console.log(
8181
"Selecting Databricks Project Folder though a tree item command"

0 commit comments

Comments
 (0)