From c59da09d3eab153d694161bdf5eb79cc4ddc5852 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 19 Sep 2014 22:57:11 +0100 Subject: [PATCH] docs(limitTo): exclude the e2e test that fails on safari Safari and doesn't like the minus key to be sent to it via Protractor. Commenting out rather than using xit so that it passes the build --- src/ng/filter/limitTo.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ng/filter/limitTo.js b/src/ng/filter/limitTo.js index 5858b417..f5be096b 100644 --- a/src/ng/filter/limitTo.js +++ b/src/ng/filter/limitTo.js @@ -51,14 +51,14 @@ }); // There is a bug in safari and protractor that doesn't like the minus key - xit('should update the output when -3 is entered', function() { - numLimitInput.clear(); - numLimitInput.sendKeys('-3'); - letterLimitInput.clear(); - letterLimitInput.sendKeys('-3'); - expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]'); - expect(limitedLetters.getText()).toEqual('Output letters: ghi'); - }); + // it('should update the output when -3 is entered', function() { + // numLimitInput.clear(); + // numLimitInput.sendKeys('-3'); + // letterLimitInput.clear(); + // letterLimitInput.sendKeys('-3'); + // expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]'); + // expect(limitedLetters.getText()).toEqual('Output letters: ghi'); + // }); it('should not exceed the maximum size of input array', function() { numLimitInput.clear();