Skip to content

An extension that adds site_prism page objects for common Solidus views

License

Notifications You must be signed in to change notification settings

nebulab/solidus_page_objects

Repository files navigation

Build Status

SolidusPageObjects

Introduction goes here.

Installation

Add solidus_page_objects to both the :development and :test groups in the Gemfile:

group :development, :test do
  gem 'solidus_page_objects'
end

Bundle your dependencies:

bundle

Use

In your features specs write something like:

...
  let(:home_page) { Solidus::PageObjects::Pages::Home.new }

  before do
    home_page.load
  end

  scenario 'a search term is entered' do
    search_results = home_page.top_navigation.search.search_for('Hug')
    expect(search_results.product_list.products.size).to eq(1)
  end
...

License

SolidusPageObjects is copyright © 2016 Nebulab. It is free software, and may be redistributed under the terms specified in the license.

About

Nebulab

SolidusPageObjects is funded and maintained by the Nebulab team.

We firmly believe in the power of open-source. Contact us if you like our work and you need help with your project design or development.

About

An extension that adds site_prism page objects for common Solidus views

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages