for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hipanel\tests\_support\Step\Acceptance;
use hipanel\tests\_support\Page\Login;
/**
* Class Manager
*
* @author Pavlo Kolomiyets <[email protected]>
*/
class Manager extends Client
{
public function login()
if ($this->retrieveSession('login-manager')) {
return $this;
}
$this->restartBrowser();
$hiam = new Login($this);
$hiam->login($this->username, $this->password);
$this->storeSession('login-manager');
protected function initCredentials()
[$this->id, $this->username, $this->password] = $this->getManagerCredentials();