AcceptanceTester::performOnContent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 2
1
<?php
2
/**
3
 * HiPanel core package
4
 *
5
 * @link      https://hipanel.com/
6
 * @package   hipanel-core
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2014-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\tests\_support;
12
13
/**
14
 * Inherited Methods.
15
 * @method void wantToTest($text)
16
 * @method void wantTo($text)
17
 * @method void execute($callable)
18
 * @method void expectTo($prediction)
19
 * @method void expect($prediction)
20
 * @method void amGoingTo($argumentation)
21
 * @method void am($role)
22
 * @method void lookForwardTo($achieveValue)
23
 * @method void comment($description)
24
 * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
25
 *
26
 * @SuppressWarnings(PHPMD)
27
 */
28
class AcceptanceTester extends \Codeception\Actor
29
{
30
    use _generated\AcceptanceTesterActions;
31
32
    /**
33
     * Define custom actions here.
34
     */
35
    public function performOnContent($actions, $timeout = null)
36
    {
37
        return $this->performOn('.content-wrapper', $actions, $timeout);
38
    }
39
}
40