Skip to content

dbarria/lt-browser-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lt-browser-tests

Opinionated structure for capybara browser tests using standalone RSpec

This project use following principles:

  • Two browser sessions
  • Pages classes that store capybara methods for specific page
    • Every page class inherits from /support/pages/page.rb to add Capybara::DSL, RSpec::Matchers and define session instance var
    • Use namespace to separate every system and pages to scope helpers
  • SessionSteps classes to define what pages can be access by a user type
    • Every class must inherit from support/session_steps/session_steps.rb to add helper methods to User type instance

About

Opinionated structure for capybara browser tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages