From 6014b17d521f4d87c0008d579ecb8bd94349566b Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Mon, 16 Aug 2021 10:58:07 -0700 Subject: [PATCH] increase wait time for python install location (#16784) --- test/automation/src/sql/configurePythonDialog.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/automation/src/sql/configurePythonDialog.ts b/test/automation/src/sql/configurePythonDialog.ts index 7fec2ce3cb..ff30c7052a 100644 --- a/test/automation/src/sql/configurePythonDialog.ts +++ b/test/automation/src/sql/configurePythonDialog.ts @@ -25,11 +25,11 @@ export class ConfigurePythonDialog extends Dialog { const newPythonInstallation = `${dialogPageInView} input[aria-label="New Python installation"]`; 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 // the contents are loaded, causing the test to fail. 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`; await this.code.waitForElementGone(loadingSpinner);