@@ 31-41 (lines=11) @@ | ||
28 | return $this; |
|
29 | } |
|
30 | ||
31 | public function ensurePlanCanBeFound($name) |
|
32 | { |
|
33 | $I = $this->tester; |
|
34 | ||
35 | $I->fillField(['name' => 'PlanSearch[name_ilike]'], $name); |
|
36 | $I->click('Search'); |
|
37 | $I->waitForJS("return $('tbody tr td a.bold').length === 1;", 60); |
|
38 | $I->see($name); |
|
39 | ||
40 | return $this; |
|
41 | } |
|
42 | ||
43 | public function ensurePlanNotFound($name) |
|
44 | { |
|
@@ 43-53 (lines=11) @@ | ||
40 | return $this; |
|
41 | } |
|
42 | ||
43 | public function ensurePlanNotFound($name) |
|
44 | { |
|
45 | $I = $this->tester; |
|
46 | ||
47 | $I->fillField(['name' => 'PlanSearch[name_ilike]'], $name); |
|
48 | $I->click('Search'); |
|
49 | $I->waitForJS("return $('tbody tr td a.bold').length === 0;", 60); |
|
50 | $I->see('No results found.', '.empty'); |
|
51 | ||
52 | return $this; |
|
53 | } |
|
54 | } |
|
55 |