Skip to content

Commit

Permalink
Check evaluators before normal rename test as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Dec 18, 2024
1 parent cf76e51 commit 8d3daa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rascal-vscode-extension/src/test/vscode-suite/ide.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ describe('IDE', function () {
const editor = await ide.openModule(TestWorkspace.libFile);
await editor.moveCursor(7, 15);

// Before moving, check that Rascal is really loaded
const checkRascalStatus = ide.statusContains("Loading Rascal");
await driver.wait(checkRascalStatus(), Delays.normal, "Rascal evaluators have not finished loading");

let renameSuccess = false;
let tries = 0;
while (!renameSuccess && tries < 5) {
Expand Down

0 comments on commit 8d3daa2

Please sign in to comment.