aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/tests/specs/contactsmenuSpec.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/core/js/tests/specs/contactsmenuSpec.js b/core/js/tests/specs/contactsmenuSpec.js
index 1db9a6a9554..8749275241a 100644
--- a/core/js/tests/specs/contactsmenuSpec.js
+++ b/core/js/tests/specs/contactsmenuSpec.js
@@ -194,6 +194,11 @@ describe('Contacts menu', function() {
},
actions: [
{
+ title: 'Info',
+ icon: 'icon-info',
+ hyperlink: 'https:\/\/localhost\/index.php\/apps\/contacts'
+ },
+ {
title: 'Details',
icon: 'icon-info',
hyperlink: 'https:\/\/localhost\/index.php\/apps\/contacts'
@@ -211,6 +216,11 @@ describe('Contacts menu', function() {
},
actions: [
{
+ title: 'Info',
+ icon: 'icon-info',
+ hyperlink: 'https://localhost\/index.php\/apps\/contacts'
+ },
+ {
title: 'Details',
icon: 'icon-info',
hyperlink: 'https://localhost\/index.php\/apps\/contacts'
@@ -228,8 +238,8 @@ describe('Contacts menu', function() {
expect($menuEl.html()).toContain('Show all contacts …');
// Both menus are closed at the beginning
- expect($menuEl.find('.contact').eq(0).find('.menu').is(':visible')).toBeFalsy();
- expect($menuEl.find('.contact').eq(1).find('.menu').is(':visible')).toBeFalsy();
+ expect($menuEl.find('.contact').eq(0).find('.menu').is(':visible')).toBe(false);
+ expect($menuEl.find('.contact').eq(1).find('.menu').is(':visible')).toBe(false);
// Open the first one
$menuEl.find('.contact').eq(0).find('.other-actions').click();