Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Latest commit

 

History

History
26 lines (16 loc) · 1.05 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.05 KB

Primo Tests

Automated UI regression testing for OSU's Primo discovery service using Selenium WebDriver

Currently this is set to execute tests using your locally installed Firefox browser. Other browsers can be set by changing the symbol in this line @driver = Selenium::WebDriver.for :firefox in each test file to: :ie, :internet_explorer, :remote, :chrome, :firefox, :ff, :android, :iphone, :opera, :phantomjs, :safari

To Run

From the command line, set any ENV variables as shown below and specify the test(s) to be run. The default format for output is documentation which is color coded and verbose.

rspec spec/scope_on_change.rb

or for a script that uses ENV variables:

user=USERNAME pass=PASSWORD rspec spec/sms_fields_hidden.rb

Additional resources for customizing tests can be found here: