提交 39370d9c 编写于 作者: B Benjamin Pasero

tests - skip another flaky one for web

上级 e1876560
......@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as assert from 'assert';
import { workspace, window, commands, ViewColumn, TextEditorViewColumnChangeEvent, Uri, Selection, Position, CancellationTokenSource, TextEditorSelectionChangeKind } from 'vscode';
import { workspace, window, commands, ViewColumn, TextEditorViewColumnChangeEvent, Uri, Selection, Position, CancellationTokenSource, TextEditorSelectionChangeKind, env, UIKind } from 'vscode';
import { join } from 'path';
import { closeAllEditors, pathEquals, createRandomFile } from '../utils';
......@@ -146,6 +146,16 @@ suite('window namespace tests', () => {
});
test('active editor not always correct... #49125', async function () {
if (env.uiKind === UIKind.Web) {
// TODO this randomly fails when running against web and visually
// what seems to happen is that the second editor opens and both
// left and right editor show a blinking cursor. Since active editor
// tracking relies on editor focus to function properly, this
// seems to be the root cause of the failure.
this.skip();
return;
}
const randomFile1 = await createRandomFile();
const randomFile2 = await createRandomFile();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册