diff --git a/web/regression/javascript/browser/menu_spec.js b/web/regression/javascript/browser/menu_spec.js index 8def5a0d6..ef241a71a 100644 --- a/web/regression/javascript/browser/menu_spec.js +++ b/web/regression/javascript/browser/menu_spec.js @@ -26,10 +26,6 @@ define([ expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeTruthy(); }); - it('should change the icon to gray', function () { - expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeTruthy(); - }); - describe('when becomes enabled', function () { beforeEach(function () { menuItem.enable = true; @@ -40,11 +36,6 @@ define([ expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeFalsy(); expect(menuItem.$el.find('span').hasClass('font-white')).toBeTruthy(); }); - - it('should change the icon color to white', function () { - expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeFalsy(); - expect(menuItem.$el.find('i').hasClass('font-white')).toBeTruthy(); - }); }); }); @@ -58,10 +49,6 @@ define([ expect(menuItem.$el.find('span').hasClass('font-white')).toBeTruthy(); }); - it('should change the icon to white', function () { - expect(menuItem.$el.find('i').hasClass('font-white')).toBeTruthy(); - }); - describe('when becomes disabled', function () { beforeEach(function () { menuItem.enable = false; @@ -72,11 +59,6 @@ define([ expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeTruthy(); expect(menuItem.$el.find('span').hasClass('font-white')).toBeFalsy(); }); - - it('should change the icon color to gray', function () { - expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeTruthy(); - expect(menuItem.$el.find('i').hasClass('font-white')).toBeFalsy(); - }); }); }); });