Skip to content

Conversation

@Chazz-Michaels
Copy link

@Chazz-Michaels Chazz-Michaels commented Apr 5, 2021

Purpose

Adds the ability to run Cucumber feature tests "headless-ly".

How to run headless feature tests

  1. bundle install
  2. Once: install xvfb package via sudo apt-get install xvfb, which helps run headless part
  3. HEADLESS=true rake, or specifically for features: HEADLESS=true rake cucumber

Changes

  • Add new gem 'headless' to test group
  • Add new file features/support/headless.rb
    • Includes details on how to run headless tests from command line
  • Update README to include how to run feature tests as headless
  • Update README to have more clear section titles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants