mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
test: skip flaky terminal integration tests
This commit is contained in:
parent
ceae19b881
commit
c768f4d6a7
|
@ -10,7 +10,7 @@ import { assertNoRpc } from '../utils';
|
|||
|
||||
// Terminal integration tests are disabled on web https://github.com/microsoft/vscode/issues/92826
|
||||
// Windows images will often not have functional shell integration
|
||||
(env.uiKind === UIKind.Web || platform() === 'win32' ? suite.skip : suite)('vscode API - Terminal.shellIntegration', () => {
|
||||
(env.uiKind === UIKind.Web || platform() !== 'darwin' ? suite.skip : suite)('vscode API - Terminal.shellIntegration', () => {
|
||||
const disposables: Disposable[] = [];
|
||||
|
||||
suiteSetup(async () => {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
import { deepStrictEqual, doesNotThrow, equal, ok, strictEqual, throws } from 'assert';
|
||||
import { commands, ConfigurationTarget, Disposable, env, EnvironmentVariableMutator, EnvironmentVariableMutatorOptions, EnvironmentVariableMutatorType, EventEmitter, ExtensionContext, extensions, ExtensionTerminalOptions, Pseudoterminal, Terminal, TerminalDimensions, TerminalExitReason, TerminalOptions, TerminalState, UIKind, Uri, window, workspace } from 'vscode';
|
||||
import { assertNoRpc, poll } from '../utils';
|
||||
import { platform } from 'os';
|
||||
|
||||
// Disable terminal tests:
|
||||
// - Web https://github.com/microsoft/vscode/issues/92826
|
||||
|
@ -761,7 +762,7 @@ import { assertNoRpc, poll } from '../utils';
|
|||
});
|
||||
});
|
||||
|
||||
test('should have collection variables apply to environment variables that don\'t exist', async () => {
|
||||
(platform() === 'linux' ? test.skip : test)('should have collection variables apply to environment variables that don\'t exist', async () => {
|
||||
// Setup collection and create terminal
|
||||
const collection = extensionContext.environmentVariableCollection;
|
||||
disposables.push({ dispose: () => collection.clear() });
|
||||
|
@ -806,7 +807,7 @@ import { assertNoRpc, poll } from '../utils';
|
|||
});
|
||||
});
|
||||
|
||||
test('should respect clearing entries', async () => {
|
||||
(platform() === 'linux' ? test.skip : test)('should respect clearing entries', async () => {
|
||||
// Setup collection and create terminal
|
||||
const collection = extensionContext.environmentVariableCollection;
|
||||
disposables.push({ dispose: () => collection.clear() });
|
||||
|
@ -847,7 +848,7 @@ import { assertNoRpc, poll } from '../utils';
|
|||
});
|
||||
});
|
||||
|
||||
test('should respect deleting entries', async () => {
|
||||
(platform() === 'linux' ? test.skip : test)('should respect deleting entries', async () => {
|
||||
// Setup collection and create terminal
|
||||
const collection = extensionContext.environmentVariableCollection;
|
||||
disposables.push({ dispose: () => collection.clear() });
|
||||
|
|
Loading…
Reference in a new issue