From 1a15a7a672ac94010c885e13ec1439ac4f527fea Mon Sep 17 00:00:00 2001 From: Jim Ehrismann Date: Tue, 9 Mar 2021 15:59:46 -0500 Subject: [PATCH] lint Signed-off-by: Jim Ehrismann --- integration/helpers/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/helpers/utils.ts b/integration/helpers/utils.ts index b749d82f8e..227b272c71 100644 --- a/integration/helpers/utils.ts +++ b/integration/helpers/utils.ts @@ -52,6 +52,7 @@ export async function clickWhatsNew(app: Application) { export async function clickWelcomeNotification(app: Application) { const itemsText = await app.client.$("ItemListLayout.info-panel").getText(); + if (itemsText === "0 item") { // welcome notification should be present, dismiss it await app.client.waitUntilTextExists("Notifications.message", "Welcome!");