mirror of
https://github.com/Microsoft/vscode
synced 2024-08-26 20:39:37 +00:00
Clean settings between suites
This commit is contained in:
parent
bcb2c6f8ee
commit
9bdcdadfa5
|
@ -22,10 +22,6 @@ export function setup() {
|
||||||
await app.workbench.terminal.runCommand(TerminalCommandId.KillAll);
|
await app.workbench.terminal.runCommand(TerminalCommandId.KillAll);
|
||||||
});
|
});
|
||||||
|
|
||||||
after(async function () {
|
|
||||||
await settingsEditor.clearUserSettings();
|
|
||||||
});
|
|
||||||
|
|
||||||
async function createShellIntegrationProfile() {
|
async function createShellIntegrationProfile() {
|
||||||
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash');
|
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash');
|
||||||
}
|
}
|
||||||
|
@ -35,6 +31,9 @@ export function setup() {
|
||||||
before(async function () {
|
before(async function () {
|
||||||
await setTerminalTestSettings(app, [['terminal.integrated.shellIntegration.enabled', 'true']]);
|
await setTerminalTestSettings(app, [['terminal.integrated.shellIntegration.enabled', 'true']]);
|
||||||
});
|
});
|
||||||
|
after(async function () {
|
||||||
|
await settingsEditor.clearUserSettings();
|
||||||
|
});
|
||||||
describe('Decorations', function () {
|
describe('Decorations', function () {
|
||||||
describe('Should show default icons', function () {
|
describe('Should show default icons', function () {
|
||||||
|
|
||||||
|
@ -76,6 +75,9 @@ export function setup() {
|
||||||
before(async function () {
|
before(async function () {
|
||||||
await setTerminalTestSettings(app);
|
await setTerminalTestSettings(app);
|
||||||
});
|
});
|
||||||
|
after(async function () {
|
||||||
|
await settingsEditor.clearUserSettings();
|
||||||
|
});
|
||||||
beforeEach(async function () {
|
beforeEach(async function () {
|
||||||
// Create the simplest system profile to get as little process interaction as possible
|
// Create the simplest system profile to get as little process interaction as possible
|
||||||
await terminal.createTerminal();
|
await terminal.createTerminal();
|
||||||
|
|
Loading…
Reference in a new issue