mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Increase smoke test timeout and python installation timeout (#17035)
* add screenshots * inc time * fix comment, remove screenshot * increase timeout only for python test * comment
This commit is contained in:
@@ -51,7 +51,7 @@ export class ConfigurePythonDialog extends Dialog {
|
||||
|
||||
private async _waitForInstallationComplete(): Promise<void> {
|
||||
const installationCompleteNotification = '.notifications-toasts div[aria-label="Notebook dependencies installation is complete, source: Notebook Core Extensions (Extension), notification"]';
|
||||
await this.code.waitForElement(installationCompleteNotification, undefined, 3000); // wait up to 5 minutes for python installation
|
||||
await this.code.waitForElement(installationCompleteNotification, undefined, 6000); // wait up to 10 minutes for python installation
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ export function setup() {
|
||||
// Python Notebooks
|
||||
|
||||
it('can open new notebook, configure Python, and execute one cell', async function () {
|
||||
this.timeout(600000); // set timeout to 10 minutes to ensure test does not timeout during python installation
|
||||
const app = this.app as Application;
|
||||
await app.workbench.sqlNotebook.newUntitledNotebook();
|
||||
await app.workbench.sqlNotebook.addCell('code');
|
||||
|
||||
Reference in New Issue
Block a user