From d394a1be45f37b663f403ca086138db233b92fe7 Mon Sep 17 00:00:00 2001 From: Merituuli Melkko Date: Tue, 9 Dec 2014 11:52:17 +0200 Subject: [PATCH] testspecapp bigger timeouts for ios to handle animations of layer pushes --- testSpecApp/app/specs/layers.coffee | 6 +++--- testSpecApp/app/specs/modal.coffee | 14 ++++++------- testSpecApp/app/specs/visibilitychange.coffee | 20 +++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/testSpecApp/app/specs/layers.coffee b/testSpecApp/app/specs/layers.coffee index 94505d5..3b8ffa7 100644 --- a/testSpecApp/app/specs/layers.coffee +++ b/testSpecApp/app/specs/layers.coffee @@ -24,7 +24,7 @@ describe "Layers", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -51,7 +51,7 @@ describe "Layers", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -77,7 +77,7 @@ describe "Layers", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } diff --git a/testSpecApp/app/specs/modal.coffee b/testSpecApp/app/specs/modal.coffee index 4a6bf26..b2fa16b 100644 --- a/testSpecApp/app/specs/modal.coffee +++ b/testSpecApp/app/specs/modal.coffee @@ -47,8 +47,8 @@ describe "Modal", -> onSuccess: -> done new Error "could not hide modal with hideAll: " + error.errorDescription onFailure: -> - done new Error "could not hide modal with hideAll and failsafe hide failed too: " + error - , 500 + done new Error "could not hide modal with hideAll and failsafe hide failed too: " + error.errorDescription + , 600 onFailure: (error) -> done new Error "could not show modal: " + error.errorDescription } @@ -77,16 +77,16 @@ describe "Modal", -> onSuccess: -> done new Error "could not hide modals with hideAll: " + error.errorDescription onFailure: -> - done new Error "could not hide modals with hideAll and failsafe hide failed too: " + error + done new Error "could not hide modals with hideAll and failsafe hide failed too: " + error.errorDescription onFailure: -> - done new Error "could not hide modals with hideAll and failsafe hide failed too: " + error - done new Error "could not hide modals with hideAll: " + error - , 500 + done new Error "could not hide modals with hideAll and failsafe hide failed too: " + error.errorDescription + done new Error "could not hide modals with hideAll: " + error.errorDescription + , 600 onFailure: (error) -> steroids.modal.hide done new Error "could not show the second modal: " + error.errorDescription } - , 500 + , 600 onFailure: (error) -> done new Error "could not show the first modal: " + error.errorDescription } diff --git a/testSpecApp/app/specs/visibilitychange.coffee b/testSpecApp/app/specs/visibilitychange.coffee index decb876..43fcb6c 100644 --- a/testSpecApp/app/specs/visibilitychange.coffee +++ b/testSpecApp/app/specs/visibilitychange.coffee @@ -36,7 +36,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -62,7 +62,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -87,7 +87,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -112,7 +112,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not hide modal: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not show modal: " + error.errorDescription } @@ -138,7 +138,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not hide modal: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not show modal: " + error.errorDescription } @@ -163,7 +163,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not hide modal: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not show modal: " + error.errorDescription } @@ -228,7 +228,7 @@ describe "visibilitychange", -> done() onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -275,7 +275,7 @@ describe "visibilitychange", -> , 750 onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription } @@ -319,7 +319,7 @@ describe "visibilitychange", -> , 750 onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription @@ -364,7 +364,7 @@ describe "visibilitychange", -> , 750 onFailure: (error) -> done new Error "could not pop view: " + error.errorDescription - , 500 + , 600 onFailure: (error) -> done new Error "could not push view: " + error.errorDescription