Commit debcfb2a6c2b3564f3b52eca4f8bb8af2bc946ee

Authored by Antonio Terceiro
1 parent a7ef8536

ci: run selenium tasks under Xvfb

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/ci.rake
@@ -35,7 +35,7 @@ namespace :ci do @@ -35,7 +35,7 @@ namespace :ci do
35 35
36 sh 'testrb', '-Itest', *tests unless tests.empty? 36 sh 'testrb', '-Itest', *tests unless tests.empty?
37 sh 'cucumber', *features unless features.empty? 37 sh 'cucumber', *features unless features.empty?
38 - sh 'cucumber', '-p', 'selenium', *features unless features.empty? 38 + sh 'xvfb-run', 'cucumber', '-p', 'selenium', *features unless features.empty?
39 39
40 changed_plugins.each do |plugin| 40 changed_plugins.each do |plugin|
41 task = "test:noosfero_plugins:#{plugin}" 41 task = "test:noosfero_plugins:#{plugin}"