mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
escape any open wizards after each test (#16938)
This commit is contained in:
@@ -96,7 +96,11 @@ export function setup() {
|
|||||||
const name = this.currentTest!.fullTitle().replace(/[^a-z0-9\-]/ig, '_');
|
const name = this.currentTest!.fullTitle().replace(/[^a-z0-9\-]/ig, '_');
|
||||||
await app.captureScreenshot(`${name} (screenshot before revertAndCloseActiveEditor action)`);
|
await app.captureScreenshot(`${name} (screenshot before revertAndCloseActiveEditor action)`);
|
||||||
}
|
}
|
||||||
|
|
||||||
await app.workbench.quickaccess.runCommand('workbench.action.revertAndCloseActiveEditor');
|
await app.workbench.quickaccess.runCommand('workbench.action.revertAndCloseActiveEditor');
|
||||||
|
|
||||||
|
// Close any open wizards
|
||||||
|
await app.code.dispatchKeybinding('escape');
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('Notebook Toolbar Actions', async () => {
|
describe('Notebook Toolbar Actions', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user