From 78557c885f22b34c7341626b5347e084552e12b4 Mon Sep 17 00:00:00 2001 From: Jon Vanausdeln Date: Wed, 2 Oct 2024 16:40:39 -0700 Subject: [PATCH] Add beforeEach check for interpreter (#4881) ### Intent Fix some instability in newproject tests where the interpreter startup intefers with typing in the project name. ### Approach Allow inerpreter to finish loading in beforeEach for the suite of tests ### QA Notes All smoke tests in CI should pass --- .../areas/positron/new-project-wizard/new-project.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/smoke/src/areas/positron/new-project-wizard/new-project.test.ts b/test/smoke/src/areas/positron/new-project-wizard/new-project.test.ts index fc769a1f35c..39986589530 100644 --- a/test/smoke/src/areas/positron/new-project-wizard/new-project.test.ts +++ b/test/smoke/src/areas/positron/new-project-wizard/new-project.test.ts @@ -203,6 +203,11 @@ describe('New Project Wizard', () => { }); describe('R Project with Renv Environment', () => { + beforeEach(async function () { + const app = this.app as Application; + await app.workbench.positronConsole.waitForReadyOrNoInterpreter(); + }); + it('Accept Renv install [C633084]', async function () { const projSuffix = addRandomNumSuffix('_installRenv'); const app = this.app as Application;