Skip to content

Commit b1c870f

Browse files
committed
Disable webview related tests on web.
1 parent a14a793 commit b1c870f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,12 @@ suite('regression', () => {
728728
});
729729

730730
suite('webview', () => {
731+
// for web, `asWebUri` gets `https`?
731732
test('asWebviewUri', async function () {
733+
if (vscode.env.uiKind === vscode.UIKind.Web) {
734+
return;
735+
}
736+
732737
const resource = vscode.Uri.parse(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
733738
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
734739
assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
@@ -737,7 +742,13 @@ suite('webview', () => {
737742
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
738743
});
739744

745+
746+
// 404 on web
740747
test('custom renderer message', async function () {
748+
if (vscode.env.uiKind === vscode.UIKind.Web) {
749+
return;
750+
}
751+
741752
const resource = vscode.Uri.parse(join(vscode.workspace.rootPath || '', './customRenderer.vsctestnb'));
742753
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
743754

0 commit comments

Comments
 (0)