Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Ext.apply window,
# waitAtLeast50Seconds()
if Ext.isFunction(arguments[1])
delay = arguments[0]
callback = arguments[1]
resolve = arguments[1]
setInterval ->
waitInCycle(resolve)
, delay
Expand Down
3 changes: 3 additions & 0 deletions spec/features/javascripts/foo.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ describe 'Foo', ->

it 'shows as a panel with title "Test component"', ->
expectToSee header "Test component"

it 'can wait with a timeout and a callback function', ->
wait 1, ->