Skip to content

Commit 36ed693

Browse files
committed
Disable flaky smoke test
1 parent 98ff96b commit 36ed693

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/automation/src/explorer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ export class Explorer extends Viewlet {
2929
}
3030

3131
async openFile(fileName: string): Promise<any> {
32-
await this.code.waitForElement(`div[class="monaco-icon-label file-icon ${fileName}-name-file-icon ${this.getExtensionSelector(fileName)} explorer-item"]`);
33-
await new Promise(c => setTimeout(c, 500));
3432
await this.code.waitAndDoubleClick(`div[class="monaco-icon-label file-icon ${fileName}-name-file-icon ${this.getExtensionSelector(fileName)} explorer-item"]`);
3533
await this.editors.waitForEditorFocus(fileName);
3634
}

test/smoke/src/areas/explorer/explorer.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ export function setup(opts: minimist.ParsedArgs) {
1212

1313
afterSuite(opts);
1414

15-
it('shows explorer and opens a file', async function () {
15+
it.skip('shows explorer and opens a file', async function () {
1616
const app = this.app as Application;
1717
await app.workbench.explorer.openExplorerView();
18+
19+
await new Promise(c => setTimeout(c, 500));
20+
1821
await app.workbench.explorer.openFile('app.js');
1922
});
2023
});

0 commit comments

Comments
 (0)