NotificationsCenter

Lookup
Section titled “Lookup”To open the notifications center, use either Workbench or StatusBar object:
import { Workbench, StatusBar, NotificationType } from 'vscode-extension-tester';...center = await new Workbench().openNotificationsCenter();center1 = await new StatusBar().openNotificationsCenter();Get the Notifications
Section titled “Get the Notifications”// get all notificationsconst notifications = await center.getNotifications(NotificationType.Any);// get info notificationsconst infos = await center.getNotifications(NotificationType.Info);Clear and Close
Section titled “Clear and Close”// clear all notificationsawait center.clearAllNotifications();// close the notifications centerawait center.close();