Skip to content

Commit

Permalink
testspecapp bigger timeouts for ios to handle animations of layer pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmelkko committed Dec 9, 2014
1 parent dc6203c commit d394a1b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions testSpecApp/app/specs/layers.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand Down
14 changes: 7 additions & 7 deletions testSpecApp/app/specs/modal.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down
20 changes: 10 additions & 10 deletions testSpecApp/app/specs/visibilitychange.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d394a1b

Please sign in to comment.