Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add headless ability to feature tests #275

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

None yet

2 participants