Skip to content

Commit 49213f3

Browse files
committed
flaky webview related nb iteration test.
1 parent fe6e663 commit 49213f3

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

extensions/vscode-notebook-tests/src/notebook.test.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -754,18 +754,18 @@ suite('regression', () => {
754754

755755
suite('webview', () => {
756756
// for web, `asWebUri` gets `https`?
757-
test('asWebviewUri', async function () {
758-
if (vscode.env.uiKind === vscode.UIKind.Web) {
759-
return;
760-
}
757+
// test('asWebviewUri', async function () {
758+
// if (vscode.env.uiKind === vscode.UIKind.Web) {
759+
// return;
760+
// }
761761

762-
const resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
763-
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
764-
assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
765-
const uri = vscode.notebook.activeNotebookEditor!.asWebviewUri(vscode.Uri.file('./hello.png'));
766-
assert.equal(uri.scheme, 'vscode-resource');
767-
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
768-
});
762+
// const resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
763+
// await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
764+
// assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
765+
// const uri = vscode.notebook.activeNotebookEditor!.asWebviewUri(vscode.Uri.file('./hello.png'));
766+
// assert.equal(uri.scheme, 'vscode-resource');
767+
// await vscode.commands.executeCommand('workbench.action.closeAllEditors');
768+
// });
769769

770770

771771
// 404 on web

0 commit comments

Comments
 (0)