From f7783e5f2a0c52b7c9aa0937c47b92ffb3b9706f Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 22 Mar 2020 20:13:52 +0000 Subject: [PATCH] tests: Firefox suport for undo keypress --- tests/frontend/specs/undo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontend/specs/undo.js b/tests/frontend/specs/undo.js index 30cc8857..6e1a1cb7 100644 --- a/tests/frontend/specs/undo.js +++ b/tests/frontend/specs/undo.js @@ -44,7 +44,7 @@ describe("undo button", function(){ var modifiedValue = $firstTextElement.text(); // get the modified value expect(modifiedValue).not.to.be(originalValue); // expect the value to change - if(inner$(window)[0].bowser.firefox || inner$(window)[0].bowser.modernIE){ // if it's IE + if(inner$(window)[0].bowser.modernIE){ // if it's IE var evtType = "keypress"; }else{ // Edge also requires keypress.