From 4627f2af470cbec955a8ea8aa8082d4bfd83b878 Mon Sep 17 00:00:00 2001 From: Christopher Mead Date: Tue, 14 Jan 2025 08:51:39 -0700 Subject: [PATCH] e2e test: enable test explorer test for web (#5988) Enable the R test explorer test for web ### QA Notes All tests should pass. @:test-explorer @:web --- test/e2e/tests/test-explorer/test-explorer.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/tests/test-explorer/test-explorer.test.ts b/test/e2e/tests/test-explorer/test-explorer.test.ts index 5ef56825836..ed58436d3f6 100644 --- a/test/e2e/tests/test-explorer/test-explorer.test.ts +++ b/test/e2e/tests/test-explorer/test-explorer.test.ts @@ -10,7 +10,7 @@ test.use({ suiteId: __filename }); -test.describe('Test Explorer', { tag: [tags.TEST_EXPLORER] }, () => { +test.describe('Test Explorer', { tag: [tags.TEST_EXPLORER, tags.WEB] }, () => { test.beforeAll(async function ({ app, r, userSettings }) { try { // don't use native file picker @@ -44,6 +44,8 @@ test.describe('Test Explorer', { tag: [tags.TEST_EXPLORER] }, () => { await app.workbench.testExplorer.runAllTests(); + await app.workbench.quickaccess.runCommand('workbench.action.closeAllEditors'); + await expect(async () => { const testResults = await app.workbench.testExplorer.getTestResults();