Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @login_page = LoginPage.new # <= dirt
- @login_page.login_with "bob", "p4ssword"
- @account_page = AccountPage.new # <= more dirt
- @account_page.username.text.should == "bob"
- @account_page.view_account_history.click
- @account_history_page = AccountHistoryPage.new # <= yet more dirt
- @account_history_page.purchased_items.size.should == 4
Add Comment
Please, Sign In to add comment