Skip to content

Commit

Permalink
Clean up some unnecessary waits.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Dec 20, 2024
1 parent a95c34b commit 03cb83b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rascal-vscode-extension/src/test/vscode-suite/ide.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ describe('IDE', function () {
// Context menus are supported for Windows and Linux
const libFileInTree = await driver.wait(async() => workspace.findItem("Lib.rsc"), Delays.normal, "Cannot find Lib.rsc");
const libFolderInTree = await driver.wait(async() => workspace.findItem("lib"), Delays.normal, "Cannot find lib folder");
await driver.wait(ignoreFails((await libFileInTree!.openContextMenu()).select("Cut")), Delays.slow);
await driver.wait(ignoreFails((await libFolderInTree!.openContextMenu()).select("Paste")), Delays.slow);
await (await libFileInTree!.openContextMenu()).select("Cut");
await (await libFolderInTree!.openContextMenu()).select("Paste");
}

await driver.wait(async() => {
Expand Down

0 comments on commit 03cb83b

Please sign in to comment.