Skip to content

dwhelan/primetime-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

primetime-prototype

This is a working example of using the Page Object pattern to support Automated Acceptance Tests of browser functionality.

The examples provide some minimal tests of www.synacor.net to show how to use the Page Object pattern for automated acceptance tests.

This uses the following main gems:

  • cucumber => BDD that talks to domain experts first and code second
  • capybara => Acceptance test framework for web applications
  • site_prism => A Page Object Model DSL for Capybara

See also:

Installation (Mac)

Download to a local folder

bundle install
cucumber

Configuration

It is currently configured for headless testing using PhantomJS. To run using a real browser edit features/support/env.rb and set:

config.default_driver = :chrome

or

config.default_driver = :firefox

or

config.default_driver = :safari

About

This is a working example of using the Page Object pattern to support Automated Acceptance Tests of browser functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages