Skip to content

Commit

Permalink
Add beforeEach check for interpreter (#4881)
Browse files Browse the repository at this point in the history
### 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
<!--
  Add additional information for QA on how to validate the change,
  paying special attention to the level of risk, adjacent areas that
  could be affected by the change, and any important contextual
  information not present in the linked issues.
-->
  • Loading branch information
jonvanausdeln authored Oct 2, 2024
1 parent 236ed48 commit 78557c8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78557c8

Please sign in to comment.