mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
parent
2664c7ddfd
commit
d22292129e
|
@ -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 });
|
||||
|
|
Loading…
Reference in a new issue