We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cac6e commit 96bf3eaCopy full SHA for 96bf3ea
extension/src/test/e2e/util.ts
@@ -40,9 +40,13 @@ const notificationShown = async (
40
message: string
41
): Promise<boolean> => {
42
const notifications = await workbench.getNotifications()
43
- return notifications.some(
44
- async notification => (await notification.elem.getText()) === message
45
- )
+ for (const notif of notifications) {
+ const notifMessage = await notif.elem.getText()
+ if (message === notifMessage) {
46
+ return true
47
+ }
48
49
+ return false
50
}
51
52
const runDeleteCommand = async (
0 commit comments