Skip to content

Commit 5c03b61

Browse files
committed
Temporarily adding debug logging to UI test
1 parent 07d6909 commit 5c03b61

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • rascal-vscode-extension/src/test/vscode-suite

rascal-vscode-extension/src/test/vscode-suite/ide.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,18 +268,26 @@ describe('IDE', function () {
268268
await (await libFolderInTree!.openContextMenu()).select("Paste");
269269
}
270270

271+
console.log("File moved");
272+
271273
await driver.wait(async() => {
272274
const text = await libFile.getText();
273275
return text.indexOf("module lib::Lib") !== -1;
274276
}, Delays.extremelySlow, "Module name should have changed to `lib::Lib`", Delays.normal);
275277

278+
console.log("libFile checked");
279+
276280
const callFile = await ide.openModule(TestWorkspace.libCallFile);
277281
await driver.wait(async() => {
278282
const text = await callFile.getText();
279283
return text.indexOf("import lib::Lib") !== -1;
280284
}, Delays.extremelySlow, "Import should have changed to `lib::Lib`", Delays.normal);
281285

286+
console.log("libCallFile checked");
287+
282288
await fs.rm(newDir, {recursive: true, force: true});
289+
290+
console.log("done");
283291
});
284292

285293
it("code actions work", async() => {

0 commit comments

Comments
 (0)