mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 01:25:39 -05:00
Fix Python smoke test failures. (#19405)
This commit is contained in:
@@ -24,12 +24,12 @@ export class ConfigurePythonDialog extends Dialog {
|
||||
|
||||
async waitForPageOneLoaded(): Promise<void> {
|
||||
// Wait up to 1 minute for the python install location to be loaded.
|
||||
const pythonInstallLocationDropdownValue = `${ConfigurePythonDialog.dialogPageInView} option[value*="/azuredatastudio-python (Default)"]`;
|
||||
const pythonInstallLocationDropdownValue = `${ConfigurePythonDialog.dialogPageInView} option[value*="azuredatastudio-python (Default)"]`;
|
||||
try {
|
||||
await this.code.waitForElement(pythonInstallLocationDropdownValue, undefined, 600);
|
||||
} finally {
|
||||
// log the select box to help debug when the default python install location fails to load
|
||||
await this.code.waitForElement('select[class="monaco-select-box"][aria-label="Python Install Location"]');
|
||||
await this.code.waitForElement('select.monaco-select-box[aria-label="Python Install Location"]');
|
||||
}
|
||||
|
||||
const loadingSpinner = `${ConfigurePythonDialog.dialogPageInView} .modelview-loadingComponent-content-loading`;
|
||||
|
||||
Reference in New Issue
Block a user