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:
Lucy Zhang
2021-09-10 09:44:35 -04:00
committed by GitHub
parent cbba05f54f
commit 30e26d63a4
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ export class ConfigurePythonDialog extends Dialog {
private async _waitForInstallationComplete(): Promise<void> { private async _waitForInstallationComplete(): Promise<void> {
const installationCompleteNotification = '.notifications-toasts div[aria-label="Notebook dependencies installation is complete, source: Notebook Core Extensions (Extension), notification"]'; 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
} }
} }

View File

@@ -56,6 +56,7 @@ export function setup() {
// Python Notebooks // Python Notebooks
it('can open new notebook, configure Python, and execute one cell', async function () { 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; const app = this.app as Application;
await app.workbench.sqlNotebook.newUntitledNotebook(); await app.workbench.sqlNotebook.newUntitledNotebook();
await app.workbench.sqlNotebook.addCell('code'); await app.workbench.sqlNotebook.addCell('code');