Advertisement
Guest User

Untitled

a guest
Jun 9th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. class UserSubscriptionTest extends PHPUnit_Extensions_Selenium2TestCase
  2. {
  3. public function setUp()
  4. {
  5. $this->setHost('localhost');
  6. $this->setPort(4444);
  7. $this->setBrowser('firefox');
  8. $this->setBrowserUrl('http://localhost/automatedTest/tests/acceptiance/');
  9. }
  10.  
  11. public function testHasLoginForm(){
  12. $this->url('index.php');
  13.  
  14. $username = $this->byName('username');
  15. $password = $this->byName('password');
  16.  
  17. $this->assertEquals('', $username->value());
  18. $this->assertEquals('', $password->value());
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement