Completed
Branch BUG-10381-asset-loading (366f84)
by
unknown
13:07 queued 32s
created

BaseCoreAdmin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A amOnEventEspressoAdminPage() 0 6 1
1
<?php
2
namespace EventEspresso\Codeception\helpers;
3
4
use Page\CoreAdmin;
5
6
/**
7
 * Trait BaseCoreAdmin
8
 * Contains actions for more generic EE Admin page navigation.  Generally speaking it is preferable to create a helper
9
 * specific to an EE admin page you want actions for, but this is provided for quicker setup as necessary.
10
 *
11
 * @package EventEspresso\Codeception\helpers
12
 */
13
trait BaseCoreAdmin
14
{
15
    public function amOnEventEspressoAdminPage($page = '', $action = '')
16
    {
17
        /** @var \EventEspressoAcceptanceTester $I */
18
        $I = $this;
19
        $I->amOnPage(CoreAdmin::adminUrl($page, $action));
20
    }
21
}