Skip to content

bc-viru82/automation_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSpec/Capybara Sample Automation Test

Instructions

  • Install RVM from here
  • Clone this repository. This clones a '.rvmrc' along with the other required files.
git clone [email protected]:ajeya/automation_template.git
  • Run the following commands from the same directory as the rest of your code
cd automation_template
source .rmvrc
gem install bundler
bundle install
  • In 'sample.rspec.rb' update the following lines:
Capybara.app_host = "http://some.url.com"

fill_in "username", with: "some-username"
fill_in "password", with: "some-password"
  • Run the following command to check if everything is installed and runs correctly.
rspec sample.rspec.rb
  • For an up-to-date Capybara cheatsheet refer to this gist

About

RSpec/Capybara Sample Automation Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published