mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
deploy BDC wizard improvement for CU1 (#7756)
* unified admin user account (#7485) * azdata changes * spaces * error message * comments * support AD authentication for bdc deployment (#7518) * enable ad authentication * remove export for internal interface * add comments * more changes after testing * update notebooks * escape slash * more comments * Update deploy-bdc-aks.ipynb * Update deploy-bdc-existing-aks.ipynb * Update deploy-bdc-existing-kubeadm.ipynb * AD changes and review feedback (#7618) * enable ad authentication * remove export for internal interface * add comments * more changes after testing * update notebooks * escape slash * more comments * Update deploy-bdc-aks.ipynb * Update deploy-bdc-existing-aks.ipynb * Update deploy-bdc-existing-kubeadm.ipynb * address comments from scenario review (#7546) * support AD authentication for bdc deployment (#7518) * enable ad authentication * remove export for internal interface * add comments * more changes after testing * update notebooks * escape slash * more comments * Update deploy-bdc-aks.ipynb * Update deploy-bdc-existing-aks.ipynb * Update deploy-bdc-existing-kubeadm.ipynb * scenario review feedbacks * more fixes * adjust the display order of resource types * different way to implement left side buttons * revert unwanted changes * rename variable * more fixes for the scenario review feedback (#7589) * fix more issues * add help links * model view readonly text with links * fix size string * address comments * update notebooks * text update * address the feedback of 2nd round of deploy BDC wizard review (#7646) * 2nd review meeting comments * fix the unit test failure * recent changes in azdata * notebook background execution with azdata (#7741) * notebook background execution with azdata * prompt to open notebook in case of failure * fix path quote issue * better temp file handling * expose docker settings (#7751) * add docker settings * new icon for container image
This commit is contained in:
@@ -105,10 +105,6 @@ suite('ExtHostModelViewDialog Tests', () => {
|
||||
});
|
||||
|
||||
test('Button clicks are forwarded to the correct button', () => {
|
||||
// Set up the proxy to record button handles
|
||||
let handles = [];
|
||||
mockProxy.setup(x => x.$setButtonDetails(It.isAny(), It.isAny())).callback((handle, details) => handles.push(handle));
|
||||
|
||||
// Set up the buttons to record click events
|
||||
let label1 = 'button_1';
|
||||
let label2 = 'button_2';
|
||||
@@ -117,14 +113,16 @@ suite('ExtHostModelViewDialog Tests', () => {
|
||||
let clickEvents = [];
|
||||
button1.onClick(() => clickEvents.push(1));
|
||||
button2.onClick(() => clickEvents.push(2));
|
||||
const button1Handle = extHostModelViewDialog.getHandle(button1, false);
|
||||
const button2Handle = extHostModelViewDialog.getHandle(button2, false);
|
||||
extHostModelViewDialog.updateButton(button1);
|
||||
extHostModelViewDialog.updateButton(button2);
|
||||
|
||||
// If the main thread sends some notifications that the buttons have been clicked
|
||||
extHostModelViewDialog.$onButtonClick(handles[0]);
|
||||
extHostModelViewDialog.$onButtonClick(handles[1]);
|
||||
extHostModelViewDialog.$onButtonClick(handles[1]);
|
||||
extHostModelViewDialog.$onButtonClick(handles[0]);
|
||||
extHostModelViewDialog.$onButtonClick(button1Handle);
|
||||
extHostModelViewDialog.$onButtonClick(button2Handle);
|
||||
extHostModelViewDialog.$onButtonClick(button2Handle);
|
||||
extHostModelViewDialog.$onButtonClick(button1Handle);
|
||||
|
||||
// Then the clicks should have been handled by the expected handlers
|
||||
assert.deepEqual(clickEvents, [1, 2, 2, 1]);
|
||||
|
||||
Reference in New Issue
Block a user