Skip to content

Instantly share code, notes, and snippets.

@Dykam
Created April 21, 2011 15:10
Show Gist options
  • Save Dykam/934733 to your computer and use it in GitHub Desktop.
Save Dykam/934733 to your computer and use it in GitHub Desktop.
browser.test '/',
test: ->
@clickAndWait link: 'Barnwood Dining Tables'
@assertTitle 'Old Wood Coffee Tables | Solid | Dining | Rustic | Round | Rectangle'
@assertElementPresent '//head/meta[@name="keywords" and @content="Old Wood Coffee Tables, Solid Old Wood Dining Tables, Rustic Dining Table"]'
@assertElementPresent '//head/meta[@name="description" and @content="Old Wood Coffee Tables, Solid Old Wood Dining Tables, Rustic Dining Table – Lake and Mountain Home for the best Custom, Dark, Natural, Round, Farm, Solid Pine, Trestle & Bench Dining Tables, Country Style, Cottage, Custom Old Wood Coffee Tables and more."]'
#Wood Chairs, Barnwood Benches & Stools Category
@clickAndWait link: 'Lake And Mountain Home'
@clickAndWait link: 'Wood Chairs, Barnwood Benches & Stools'
@assertTitle 'Casual Dining Chairs | Benches | Stools | Reclaimed | Wooden'
@assertElementPresent '//head/meta[@name="keywords" and @content="Country Dining Chairs, Dining Room Benches, Country Stools"]'
@assertElementPresent '//head/meta[@name="description" and @content="Casual Dining Chairs, Dining Room Benches, Wooden Stools – Lake and Mountain Home for the best Custom, Casual Style, Dark, White, Black Solid Wood Dining Table Chairs, Country Bar & Kitchen Stools, Farmhouse & Nook Dining Benches and more."]'
#Painted Wooden Furniture Category
@clickAndWait link: 'Lake And Mountain Home'
@clickAndWait link: 'Painted Wooden Furniture'
@assertTitle 'Custom Painted Furniture | Stools | Accessories | Rustic | Country | Art'
@assertElementPresent '//head/meta[@name="keywords" and @content="Custom Painted Furniture, Custom Painted Stools, Painted Accessories"]'
@assertElementPresent '//head/meta[@name="description" and @content="Custom Painted Furniture, Custom Painted Stools, Painted Accessories – Lake and Mountain Home for the best Country Painted, Antique, Pine, Wood, Cupboard, Dining, Chest Furniture with Custom & Hand Painted Tables and more."]'
#Gifts Category
@clickAndWait link: 'Lake And Mountain Home'
@clickAndWait link 'Gifts'
@assertTitle 'Pet Portraits | Personalized | Portrait | Hand | Painted | Wildlife'
@assertElementPresent '//head/meta[@name="keywords" and @content="Pet Portraits, Personalized Portrait, Hand Painted Wildlife"]'
@assertElementPresent '//head/meta[@name="description" and @content="Pet Portraits, Personalized Portrait, Hand Painted Wildlife – Lake and Mountain Home for the best Hand Painted, Lifelike, Dog & Family Pet Portraits with Wood Painted Wildlife and more."]'
error: err ->
if err
throw err
console.log 'done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment