mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 09:35:37 -05:00
Make new workspace inputbox editable in Create project from database dialog (#13842)
* update create project from database dialog to have editable new workspace * add validation * add test * add error message * Remove test for now * cleanup * add periods * throw errors * change return type to void
This commit is contained in:
@@ -97,6 +97,8 @@ describe('Create Project From Database Dialog', () => {
|
||||
sinon.stub(azdata.connection, 'listDatabases').resolves(['My Database']);
|
||||
await dialog.openDialog();
|
||||
|
||||
dialog.workspaceInputBox!.enabled = false;
|
||||
|
||||
dialog.projectNameTextBox!.value = 'testProject';
|
||||
dialog.projectLocationTextBox!.value = 'testLocation';
|
||||
|
||||
@@ -108,7 +110,8 @@ describe('Create Project From Database Dialog', () => {
|
||||
projName: 'testProject',
|
||||
filePath: 'testLocation',
|
||||
version: '1.0.0.0',
|
||||
extractTarget: mssql.ExtractTarget['schemaObjectType']
|
||||
extractTarget: mssql.ExtractTarget['schemaObjectType'],
|
||||
newWorkspaceFilePath: undefined
|
||||
};
|
||||
|
||||
dialog.createProjectFromDatabaseCallback = (m) => { model = m; };
|
||||
|
||||
Reference in New Issue
Block a user