edno / kleis

Simplified SquidGuard web frontend (users & filters management)
MIT License
4 stars 2 forks source link

Refactor page object for Administator page #86

Closed edno closed 5 years ago

edno commented 5 years ago

Method for creation of new administrator should use object mapping instead of hard-coded string.

public function newAdministrator()
    {
        $this->tester->click("Ajouter un administrateur"); // TO BE FIXED
        $this->tester->see('Nouvel administrateur'); // TO BE FIXED
        return new UserPage($this->tester);
    }