mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
increase wait time for python install location (#16784)
This commit is contained in:
@@ -25,11 +25,11 @@ export class ConfigurePythonDialog extends Dialog {
|
|||||||
const newPythonInstallation = `${dialogPageInView} input[aria-label="New Python installation"]`;
|
const newPythonInstallation = `${dialogPageInView} input[aria-label="New Python installation"]`;
|
||||||
await this.code.waitAndClick(newPythonInstallation);
|
await this.code.waitAndClick(newPythonInstallation);
|
||||||
|
|
||||||
// Wait for the python install location to be loaded before clicking the next button.
|
// Wait up to 1 minute for the python install location to be loaded before clicking the next button.
|
||||||
// There may be a timing issue where the smoke test attempts to go to the next page before
|
// There may be a timing issue where the smoke test attempts to go to the next page before
|
||||||
// the contents are loaded, causing the test to fail.
|
// the contents are loaded, causing the test to fail.
|
||||||
const pythonInstallLocationDropdownValue = `${dialogPageInView} option[value*="/azuredatastudio-python (Default)"]`;
|
const pythonInstallLocationDropdownValue = `${dialogPageInView} option[value*="/azuredatastudio-python (Default)"]`;
|
||||||
await this.code.waitForElement(pythonInstallLocationDropdownValue);
|
await this.code.waitForElement(pythonInstallLocationDropdownValue, undefined, 600);
|
||||||
|
|
||||||
const loadingSpinner = `${dialogPageInView} .modelview-loadingComponent-content-loading`;
|
const loadingSpinner = `${dialogPageInView} .modelview-loadingComponent-content-loading`;
|
||||||
await this.code.waitForElementGone(loadingSpinner);
|
await this.code.waitForElementGone(loadingSpinner);
|
||||||
|
|||||||
Reference in New Issue
Block a user