Skip to content

Commit

Permalink
fix notifications error
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Nov 13, 2023
1 parent 186e100 commit cc2f84b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/client/specs/notifications_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')));

Expand Down

0 comments on commit cc2f84b

Please sign in to comment.