Skip to content

glamb/Interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Test Problem

  1. Open the URL http://www.wetpaint.com/moms/video/virtual-puppy-room-corgi-stampede
  2. Verifies that a GET request was sent to www.google-analytics.com with the following parameters:
  • utme contains: “moms_video”, “Direct”
  • utmac equals: “UA-10597003-4”
  • utmp exists (no specific content checks, only that it is present)
  1. licks the “Daynah Burnett” link leading to the following URL: http://www.wetpaint.com/author/daynah-burnett
  2. Repeating the verification from step 2 with these changes:
  • utme contains: "none_publishable_rollup", "Direct"
  • utme does NOT contain: “moms”
  • utmac equals: “UA-10597003-4”

Implementation

I have solve the above problem in two way. My first method is js file that uses PhantomJs/CasperJs. The second implementation is using Ruby/Cucumber/Capybara/Poltergeist. Since I had some extra time, I thought I would try out Ruby and a Gerkins implementation of the above test.

You will find a README.md in each of the folders exmplaining the example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published