From cc2f84bdd89a773f548f2d3d5d08717c88035a5e Mon Sep 17 00:00:00 2001 From: Petr Jasek Date: Mon, 13 Nov 2023 13:15:57 +0100 Subject: [PATCH] fix notifications error --- e2e/client/specs/notifications_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/client/specs/notifications_spec.ts b/e2e/client/specs/notifications_spec.ts index e61fa3c61d..4458af5b6c 100644 --- a/e2e/client/specs/notifications_spec.ts +++ b/e2e/client/specs/notifications_spec.ts @@ -24,14 +24,14 @@ describe('notifications', () => { browser.wait(() => comments.count(), 2000); expect(comments.count()).toBe(1); - expect(unreadCount.getText()).toBe('3'); + expect(unreadCount.getText()).toBe(''); logout(); var modal = new LoginModal(); modal.login('admin1', 'admin'); - expect(unreadCount.getText()).toBe('4'); + expect(unreadCount.getText()).toBe('1'); click(element(by.id('unread-count')));