mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Re-enable notebook smoke test and increase timeout (#13007)
This commit is contained in:
@@ -93,6 +93,6 @@ export class NotebookToolbar {
|
|||||||
|
|
||||||
async waitForKernel(kernel: string): Promise<void> {
|
async waitForKernel(kernel: string): Promise<void> {
|
||||||
const kernelDropdownValue = `${NotebookToolbar.toolbarSelector} select[id="kernel-dropdown"][title="${kernel}"]`;
|
const kernelDropdownValue = `${NotebookToolbar.toolbarSelector} select[id="kernel-dropdown"][title="${kernel}"]`;
|
||||||
await this.code.waitForElement(kernelDropdownValue);
|
await this.code.waitForElement(kernelDropdownValue, undefined, 3000); // wait up to 5 minutes for kernel change
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import { Application } from '../../../../../automation';
|
import { Application } from '../../../../../automation';
|
||||||
|
|
||||||
export function setup() {
|
export function setup() {
|
||||||
describe.skip('Notebook', () => {
|
describe('Notebook', () => {
|
||||||
|
|
||||||
|
|
||||||
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 () {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const suite = opts['web'] ? 'Browser Smoke Tests' : 'Smoke Tests';
|
|||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
color: true,
|
color: true,
|
||||||
timeout: 60000,
|
timeout: 300000,
|
||||||
slow: 30000,
|
slow: 30000,
|
||||||
grep: opts['f'] || opts['g']
|
grep: opts['f'] || opts['g']
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user