Completed
Pull Request — master (#44)
by Dmitry
04:42
created

Select2   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A isVisible() 0 4 1
1
<?php
2
3
namespace hipanel\tests\_support\Page\Widget\Input;
4
5
use hipanel\tests\_support\AcceptanceTester;
6
7
class Select2 extends TestableInput
8
{
9
    public function isVisible(AcceptanceTester $I, string $formId): void
10
    {
11
        $I->see($this->name, "//form[@id='$formId']//span[contains(@class, 'select2-selection__placeholder')]");
12
    }
13
}
14