Sha256: 1ca29ea79893274343a293e44b414fcf1f78f125c3f04a2fd75a79c5031cc5c4

Contents?: true

Size: 909 Bytes

Versions: 1

Compression:

Stored size: 909 Bytes

Contents

class ProductListItem < TestCentricity::ScreenSection
  trait(:section_name)    { 'Product List Item' }
  trait(:section_locator) { { xpath: '//android.view.ViewGroup[@content-desc="store item"]' } }

  # Product Cell Item UI elements
  labels  product_name:  { xpath: '//android.widget.TextView[@content-desc="store item text"]' },
          product_price: { xpath: '//android.widget.TextView[@content-desc="store item price"]' }
  buttons review_star_1: { xpath: '//android.view.ViewGroup[@content-desc="review star 1"]' },
          review_star_2: { xpath: '//android.view.ViewGroup[@content-desc="review star 2"]' },
          review_star_3: { xpath: '//android.view.ViewGroup[@content-desc="review star 3"]' },
          review_star_4: { xpath: '//android.view.ViewGroup[@content-desc="review star 4"]' },
          review_star_5: { xpath: '//android.view.ViewGroup[@content-desc="review star 5"]' }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testcentricity-3.0.4 features/support/android/sections/list_items/product_list_item.rb