mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
re-enable active editor test for electron-runner, https://github.com/microsoft/vscode/issues/90470
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -145,14 +145,13 @@ suite('window namespace tests', () => {
|
||||
});
|
||||
});
|
||||
|
||||
// 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.
|
||||
// https://github.com/microsoft/vscode/issues/90470
|
||||
test.skip('active editor not always correct... #49125', async function () {
|
||||
|
||||
test('active editor not always correct... #49125', async function () {
|
||||
if (env.uiKind === UIKind.Web) {
|
||||
// https://github.com/microsoft/vscode/issues/90470
|
||||
// https://github.com/microsoft/playwright/issues/979
|
||||
this.skip();
|
||||
return;
|
||||
}
|
||||
const randomFile1 = await createRandomFile();
|
||||
const randomFile2 = await createRandomFile();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user