Delete   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A deleteTemplatePrices() 0 11 1
1
<?php
2
/**
3
 * Finance module for HiPanel
4
 *
5
 * @link      https://github.com/hiqdev/hipanel-module-finance
6
 * @package   hipanel-module-finance
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\modules\finance\tests\_support\Page\price;
12
13
class Delete extends View
14
{
15
    public function deleteTemplatePrices(): void
16
    {
17
        $I = $this->tester;
18
19
        $this->loadPage();
20
        $I->click("//thead/tr/th/input[@name='selection_all']");
21
        $I->click('Delete');
22
        $I->acceptPopup();
23
        $I->closeNotification('Prices were successfully deleted');
24
        $I->see('No prices found');
25
    }
26
}
27