diff --git a/extensions/vscode/e2e/actions/NextEdit.actions.ts b/extensions/vscode/e2e/actions/NextEdit.actions.ts index 75134c558..f3cc6f81d 100644 --- a/extensions/vscode/e2e/actions/NextEdit.actions.ts +++ b/extensions/vscode/e2e/actions/NextEdit.actions.ts @@ -52,13 +52,14 @@ export class NextEditActions { console.log("Executed 'Force Next Edit' command"); // console.log("Waiting for SVG decoration to appear..."); - // await TestUtils.waitForTimeout(DEFAULT_TIMEOUT.XXL); + await TestUtils.waitForTimeout(DEFAULT_TIMEOUT.MD); // console.log("Wait completed, looking for decoration..."); console.log("Looking for decoration...") const svgDecoration = await TestUtils.waitForSuccess( () => NextEditSelectors.getSvgDecoration(VSBrowser.instance.driver), DEFAULT_TIMEOUT.XXL * 2, + 5000 ); const result = svgDecoration !== null; diff --git a/extensions/vscode/e2e/selectors/SelectorUtils.ts b/extensions/vscode/e2e/selectors/SelectorUtils.ts index 9edf63247..42b0b901a 100644 --- a/extensions/vscode/e2e/selectors/SelectorUtils.ts +++ b/extensions/vscode/e2e/selectors/SelectorUtils.ts @@ -33,7 +33,7 @@ export class SelectorUtils { ): Promise { return driver.findElement( // By.xpath("//*[contains(@class, 'ced-') and matches(@class, 'ced-2-TextEditorDecorationType[0-9]+-4')]") - // By.css(`[class*='${className}']`), + // By.css(`*[class*='${className}']`), By.xpath(`//span[contains(@class, '${className}')]`), // By.css("div[class*='TextEditorDecorationType'][style*='filter']") );