Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxl-siemens committed Mar 22, 2024
1 parent 80fd295 commit 386bef1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/test/ui-test/utils/extension-settings-helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as assert from "assert";
import { EditorView, LinkSetting, Workbench, TextEditor, Setting } from "vscode-extension-tester";
import { EditorView, LinkSetting, Workbench, TextEditor, Setting, By, VSBrowser } from "vscode-extension-tester";

export class ExtensionSettings
{
Expand Down Expand Up @@ -115,7 +115,13 @@ export class ExtensionSettings
await setting.click();

console.log("here");
console.log(await setting.getDriver().getPageSource())


const resetElem = await setting.findElement(By.css("a.action-label"))
assert(resetElem != undefined);
await resetElem.click();
console.log(await VSBrowser.instance.driver.takeScreenshot())
// <a class="action-label codicon codicon-settings-more-action" />
}

// SetPath
Expand Down

0 comments on commit 386bef1

Please sign in to comment.