From 274e671e0fbf580addd26689f7547e3cd1759be6 Mon Sep 17 00:00:00 2001 From: Pavlo Date: Wed, 15 Jun 2022 08:37:17 +0100 Subject: [PATCH] Fix test to acount for notifications counter in title --- t/lib/login_with_user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/login_with_user.js b/t/lib/login_with_user.js index 3ec4afcfd..5fb224034 100644 --- a/t/lib/login_with_user.js +++ b/t/lib/login_with_user.js @@ -102,7 +102,7 @@ var login_with_user_func = Promise.promisify(function(args, callback){ // Make sure login was successful, check that we landed on user account page driver.getTitle() .then(function(title){ - expect(title).to.be.equal('Calendar'); + expect(title).to.match(/Calendar/); }); driver