public function _before(\FunctionalTester $I) { $this->page = 'tests\\codeception\\_pages\\activity\\UpdatePage'; $this->params = ['id' => \Activity::$id]; $this->activity = '\\NewActivity'; LoginPage::openBy($I); LoginPage::loginAsCoordinator($I); }
public function testDeleteButtonForCoord(\FunctionalTester $I) { $I->wantTo('check that delete button works for coordinators'); LoginPage::openBy($I); LoginPage::loginAsCoordinator($I); self::testDeleteButton($I); }