From 4554eac76da0b67aae256a8117c0677ebc355861 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri, 10 Dec 2021 10:59:05 -0800 Subject: [PATCH] Re-enable tests now that runCommandWithValue is more reliable Part of #138658 --- .../smoke/src/areas/terminal/terminal-profiles.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/smoke/src/areas/terminal/terminal-profiles.test.ts b/test/smoke/src/areas/terminal/terminal-profiles.test.ts index e626e8c9079..13844e1639c 100644 --- a/test/smoke/src/areas/terminal/terminal-profiles.test.ts +++ b/test/smoke/src/areas/terminal/terminal-profiles.test.ts @@ -22,20 +22,20 @@ export function setup() { await terminal.assertSingleTab({ name: ANY_PROFILE_NAME }); }); - it.skip('should set the default profile to a contributed one', async () => { + it('should set the default profile to a contributed one', async () => { await terminal.runCommandWithValue(TerminalCommandIdWithValue.SelectDefaultProfile, CONTRIBUTED_PROFILE_NAME); await terminal.runCommand(TerminalCommandId.CreateNew); await terminal.assertSingleTab({ name: CONTRIBUTED_PROFILE_NAME }); }); - it.skip('should use the default contributed profile on panel open and for splitting', async () => { + it('should use the default contributed profile on panel open and for splitting', async () => { await terminal.runCommandWithValue(TerminalCommandIdWithValue.SelectDefaultProfile, CONTRIBUTED_PROFILE_NAME); await terminal.runCommand(TerminalCommandId.Show); await terminal.runCommand(TerminalCommandId.Split); await terminal.assertTerminalGroups([[{ name: CONTRIBUTED_PROFILE_NAME }, { name: CONTRIBUTED_PROFILE_NAME }]]); }); - it.skip('should set the default profile', async () => { + it('should set the default profile', async () => { await terminal.runCommandWithValue(TerminalCommandIdWithValue.SelectDefaultProfile, process.platform === 'win32' ? 'PowerShell' : undefined); await terminal.runCommand(TerminalCommandId.CreateNew); await terminal.assertSingleTab({ name: ANY_PROFILE_NAME }); @@ -53,7 +53,7 @@ export function setup() { await terminal.assertSingleTab({ name: ANY_PROFILE_NAME }); }); - it.skip('createWithProfile command should create a terminal with a contributed profile', async () => { + it('createWithProfile command should create a terminal with a contributed profile', async () => { await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, CONTRIBUTED_PROFILE_NAME); await terminal.assertSingleTab({ name: CONTRIBUTED_PROFILE_NAME }); }); @@ -64,7 +64,7 @@ export function setup() { await terminal.assertTerminalGroups([[{}, {}]]); }); - it.skip('createWithProfile command should create a split terminal with a contributed profile', async () => { + it('createWithProfile command should create a split terminal with a contributed profile', async () => { await terminal.runCommand(TerminalCommandId.Show); await terminal.assertSingleTab({}); await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, CONTRIBUTED_PROFILE_NAME, true);