Esempio n. 1
0
 /**
  * This method is called before each cest class test method
  *
  * @param AcceptanceTester $I
  */
 public function _before($I)
 {
     $menuFixture = new MenuFixture();
     $menuFixture->load();
     $menuItemFixture = new MenuItemFixture();
     $menuItemFixture->load();
     $loginPage = LoginPage::openBy($I);
     $loginPage->submit(['username' => 'administrator', 'password' => 'administrator']);
 }
Esempio n. 2
0
 protected function loadFixtures()
 {
     $menuFixture = new MenuFixture();
     $menuFixture->load();
     $menuItemFixture = new MenuItemFixture();
     $menuItemFixture->load();
 }