Disable shell integration smoke tests

Part of #150478
This commit is contained in:
Daniel Imms 2022-06-01 11:45:35 -07:00
parent 2664c7ddfd
commit d22292129e
No known key found for this signature in database
GPG key ID: E5CF412B63651C69

View file

@ -28,8 +28,9 @@ export function setup() {
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash');
}
describe('Shell integration', function () {
(process.platform === 'linux' || process.platform === 'win32' ? describe.skip : describe)('Decorations', function () {
// TODO: These are currently flaky https://github.com/microsoft/vscode/issues/150478
describe.skip('Shell integration', function () {
describe('Decorations', function () {
describe('Should show default icons', function () {
it('Placeholder', async () => {
await createShellIntegrationProfile();
@ -40,9 +41,7 @@ export function setup() {
await terminal.runCommandInTerminal(`ls`);
await terminal.assertCommandDecorations({ placeholder: 1, success: 1, error: 0 });
});
// TODO: Skip error case on all platforms, it seems particularly flaky currently
// https://github.com/microsoft/vscode/issues/150742
it.skip('Error', async () => {
it('Error', async () => {
await createShellIntegrationProfile();
await terminal.runCommandInTerminal(`fsdkfsjdlfksjdkf`);
await terminal.assertCommandDecorations({ placeholder: 1, success: 0, error: 1 });