<?php $I = new FunctionalTester($scenario); $I->am('a Larabook member'); $I->wantTo('I want to view my profile.'); $I->signIn(); $I->postAStatus('My new status.'); $I->click('Your Profile'); $I->seeCurrentUrlEquals('/@Foobar'); $I->see('My new status.');
<?php $I = new FunctionalTester($scenario); $I->am('a Larabook member'); $I->wantTo('post statuses to my profile'); $I->signIn(); $I->amOnPage('statuses'); $I->postAStatus('My first post.'); $I->seeCurrentUrlEquals('/statuses'); $I->see('My first post');
<?php $I = new FunctionalTester($scenario); $I->am('a Larabook member'); $I->wantTo('View my profile'); $I->signIn(); $I->postAStatus('My new Status'); $I->click('Profile'); $I->seeCurrentUrlEquals('/@Foobar'); $I->see('My new Status');
<?php $I = new FunctionalTester($scenario); $I->am('a Larabook Member'); $I->wantTo('Post Statuses to My Profile'); $I->signIn(); $I->amOnPage('/statuses'); $I->postAStatus('My First Post'); $I->seeInCurrentUrl('/statuses'); $I->see('My First Post');
<?php $I = new FunctionalTester($scenario); $I->am('Larabook member'); $I->wantTo('post statuses to my profile.'); $I->signIn(); $I->amOnPage('statuses'); $I->postAStatus('my first post'); $I->seeCurrentUrlEquals('/statuses'); $I->see('my first post');
<?php $I = new FunctionalTester($scenario); $I->am("A larabook member"); $I->wantTo('I want to view my profile'); $I->signIn(); $I->postAStatus('My New status'); $I->click('My Profile'); $I->seeCurrentUrlEquals('/@Foobar'); $I->see('My New status');