for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EventEspresso\Codeception\helpers;
use Page\CoreAdmin;
/**
* Trait BaseCoreAdmin
* Contains actions for more generic EE Admin page navigation. Generally speaking it is preferable to create a helper
* specific to an EE admin page you want actions for, but this is provided for quicker setup as necessary.
*
* @package EventEspresso\Codeception\helpers
*/
trait BaseCoreAdmin
{
public function amOnEventEspressoAdminPage($page = '', $action = '')
/** @var \EventEspressoAcceptanceTester $I */
$I = $this;
$I->amOnPage(CoreAdmin::adminUrl($page, $action));
}