Commit 8d97fd45060761a7ca51730a0080e0120117d774
1 parent
2a3fb830
Exists in
master
and in
23 other branches
Running cucumber with xvfb-run
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
lib/tasks/test.rake
| ... | ... | @@ -3,9 +3,5 @@ task 'test:units' => 'noosfero:doc:build' |
| 3 | 3 | task 'test:functionals' => 'noosfero:doc:build' |
| 4 | 4 | |
| 5 | 5 | task :selenium do |
| 6 | - if ENV['DISPLAY'].blank? | |
| 7 | - puts "I: Not running selenium tests, graphical environment is not available" | |
| 8 | - else | |
| 9 | - sh 'cucumber -p selenium' | |
| 10 | - end | |
| 6 | + sh 'xvfb-run cucumber -p selenium' | |
| 11 | 7 | end | ... | ... |