TIME MAGAZINE
This commit is contained in:
parent
ccddba0168
commit
e73561a18e
2 changed files with 3 additions and 3 deletions
|
|
@ -44,11 +44,11 @@ export class NextEditActions {
|
|||
await editor.moveCursor(2, 4);
|
||||
|
||||
await new Workbench().executeCommand("Continue: Force Next Edit");
|
||||
await TestUtils.waitForTimeout(DEFAULT_TIMEOUT.MD);
|
||||
await TestUtils.waitForTimeout(DEFAULT_TIMEOUT.XL);
|
||||
|
||||
const svgDecoration = await TestUtils.waitForSuccess(
|
||||
() => NextEditSelectors.getSvgDecoration(VSBrowser.instance.driver),
|
||||
DEFAULT_TIMEOUT.XL * 3
|
||||
DEFAULT_TIMEOUT.XL
|
||||
);
|
||||
|
||||
return svgDecoration !== null;
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ describe("Next Edit", () => {
|
|||
it("Should force a Next Edit", async () => {
|
||||
const hasDecoration = await NextEditActions.forceNextEdit(editor);
|
||||
expect(hasDecoration).to.be.true;
|
||||
}).timeout(DEFAULT_TIMEOUT.XL * 3);
|
||||
}).timeout(DEFAULT_TIMEOUT.XL);
|
||||
|
||||
it("Should accept Next Edit suggestion with Tab", async () => {
|
||||
const accepted = await NextEditActions.acceptNextEditSuggestion(editor);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue