Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class UserSubscriptionTest extends PHPUnit_Extensions_Selenium2TestCase
- {
- public function setUp()
- {
- $this->setHost('localhost');
- $this->setPort(4444);
- $this->setBrowser('firefox');
- $this->setBrowserUrl('http://localhost/automatedTest/tests/acceptiance/');
- }
- public function testHasLoginForm(){
- $this->url('index.php');
- $username = $this->byName('username');
- $password = $this->byName('password');
- $this->assertEquals('', $username->value());
- $this->assertEquals('', $password->value());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement