Wait for cleared settings to be applied before continuing

Fix #93292
This commit is contained in:
Rob Lourens 2020-03-28 10:43:10 -07:00
parent 7ca13ca33b
commit 64c157244e

View file

@ -31,6 +31,9 @@ export function setup() {
after(async function () {
const app = this.app as Application;
await app.workbench.settingsEditor.clearUserSettings();
// Wait for settings to be applied, which will happen after the settings file is empty
await app.workbench.activitybar.waitForActivityBar(ActivityBarPosition.LEFT);
});
});
}