Skip to content
This repository was archived by the owner on Sep 29, 2021. It is now read-only.
This repository was archived by the owner on Sep 29, 2021. It is now read-only.

Can't run in headless mode #11

@evandev

Description

@evandev

macOS Sierra 10.13.3

Using the default Desktop tag:
Cucumber::Rake::Task.new(:desktop, 'Runs test tagged as Desktop') do |t| t.cucumber_opts = "features/* --format html --out=results/desktop-report.html --format pretty --no-source --format rerun --out results/desktop-rerun.txt --tag @desktop" 'HEADLESS=true' end

And with env.rb set to the default:
if ENV['HEADLESS'] require 'headless' headless = Headless.new headless.start at_exit do headless.destroy end end

When I start my test
rake desktop /Users/USER/.rvm/rubies/ruby-2.5.0/bin/ruby -S bundle exec cucumber features/* --format html --out=results/desktop-report.html --format pretty --no-source --format rerun --out results/desktop-rerun.txt --tag @tms_desktop 'HEADLESS=true'

However, my test does not start in headless mode as expected. Any advice? As a side note I want to thank you for this excellent open source project, it's been a huge help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions