Sha256: 493864bda8824c2dffda6eb170d1ea01eb928f3568b67402a32904d78e500f50

Contents?: true

Size: 837 Bytes

Versions: 1

Compression:

Stored size: 837 Bytes

Contents

class ProductListItem < TestCentricity::ScreenSection
  trait(:section_name)    { 'Product List Item' }
  trait(:section_locator) { { xpath: '//XCUIElementTypeOther[@name="store item"]' } }

  # Product Cell Item UI elements
  labels  product_name:  { xpath: '//XCUIElementTypeStaticText[@name="store item text"]' },
          product_price: { xpath: '//XCUIElementTypeStaticText[@name="store item price"]' }
  buttons review_star_1: { xpath: '//XCUIElementTypeOther[@name="review star 1"]' },
          review_star_2: { xpath: '//XCUIElementTypeOther[@name="review star 2"]' },
          review_star_3: { xpath: '//XCUIElementTypeOther[@name="review star 3"]' },
          review_star_4: { xpath: '//XCUIElementTypeOther[@name="review star 4"]' },
          review_star_5: { xpath: '//XCUIElementTypeOther[@name="review star 5"]' }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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