OzFramework / oz

Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Apache License 2.0
23 stars 7 forks source link

handle ruby namespacing #133

Closed Castone22 closed 5 years ago

Castone22 commented 6 years ago

oz currently does not gracefully handle pages that have been namespaced. This is a proposed fix to that

Use Case:

#!~ public_site.rb
module PublicSite
end

#!~ public_site/home_page.rb
module PublicSite
  class HomePage < BasePage
  end
end

This allows for pages to be organized into packages and keeps the name space a lot cleaner.