ContentAssist

Open/Lookup
Section titled “Open/Lookup”import { TextEditor, ContentAssist } from 'vscode-extension-tester';...const contentAssist = await new TextEditor().toggleContentAssist(true);Get Items
Section titled “Get Items”// find if an item with given label is presentconst hasItem = await contentAssist.hasItem("Get");// get an item by label, returns undefined if not found// takes an optional timeout in ms (default 30000)const item = await contentAssist.getItem("Get");// get all visible itemsconst items = await contentAssist.getItems();Select an Item
Section titled “Select an Item”await (await contentAssist.getItem('Get'))?.click();