mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 09:35:37 -05:00
Run initial modelview actions first (#13317)
* Run initial modelview actions first * add param * Comments and typings * Catch promise error * fix db projects test * remove extra calls
This commit is contained in:
@@ -29,10 +29,8 @@ describe('Add Database Reference Dialog', () => {
|
||||
const dialog = new AddDatabaseReferenceDialog(project);
|
||||
await dialog.openDialog();
|
||||
|
||||
should(dialog.dialog.okButton.enabled).equal(false);
|
||||
should(dialog.dialog.okButton.enabled).equal(true, 'Ok button should be enabled since initial type of systemDb has default values filled');
|
||||
should(dialog.currentReferenceType).equal(ReferenceType.systemDb);
|
||||
dialog.tryEnableAddReferenceButton();
|
||||
should(dialog.dialog.okButton.enabled).equal(true, 'Ok button should be enabled because there is a default value in the database name textbox');
|
||||
|
||||
// empty db name textbox
|
||||
dialog.databaseNameTextbox!.value = '';
|
||||
|
||||
Reference in New Issue
Block a user