Skip to content

Commit

Permalink
Added delays so that the cron jobs will be passed
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbysunil14 committed Nov 12, 2024
1 parent dcea4c9 commit d7035e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/GradleSingleModJakartaLSTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('LSP4Jakarta LS test for snippet test', () => {
}

editor.typeText("rest");
await utils.delay(6000);

//open the assistant
const assist = await editor.toggleContentAssist(true);
Expand All @@ -26,11 +27,13 @@ describe('LSP4Jakarta LS test for snippet test', () => {
// to select an item use
await assist.select('rest_class')
}
await utils.delay(6000);

// close the assistant
await editor.toggleContentAssist(false);

const insertedCode = await editor.getText();
await utils.delay(6000);
assert(insertedCode.includes('public String methodname() {'), 'Snippet rest_class was not inserted correctly.');

await editor.clearText();
Expand Down

0 comments on commit d7035e2

Please sign in to comment.