| @@ 59-73 (lines=15) @@ | ||
| 56 | $I->see('Type', "//form[@id='$formId']//label"); |
|
| 57 | } |
|
| 58 | ||
| 59 | private function ensureICanSeeLegendBox(Client $I) |
|
| 60 | { |
|
| 61 | $I->see('Legend', 'h3'); |
|
| 62 | ||
| 63 | $legend = [ |
|
| 64 | 'Domain', |
|
| 65 | 'DNS records', |
|
| 66 | 'Alias', |
|
| 67 | 'Name server', |
|
| 68 | 'Complex domain', |
|
| 69 | ]; |
|
| 70 | foreach ($legend as $text) { |
|
| 71 | $I->see($text, '//ul/li'); |
|
| 72 | } |
|
| 73 | } |
|
| 74 | ||
| 75 | private function ensureICanSeeBulkSearchBox() |
|
| 76 | { |
|
| @@ 49-61 (lines=13) @@ | ||
| 46 | $I->see('Type', "//form[@id='$formId']//span"); |
|
| 47 | } |
|
| 48 | ||
| 49 | private function ensureICanSeeLegendBox(Client $I) |
|
| 50 | { |
|
| 51 | $I->see('Legend', 'h3'); |
|
| 52 | ||
| 53 | $legend = [ |
|
| 54 | 'Mail box', |
|
| 55 | 'Mail alias', |
|
| 56 | 'Mail box with aliases', |
|
| 57 | ]; |
|
| 58 | foreach ($legend as $text) { |
|
| 59 | $I->see($text, '//ul/li'); |
|
| 60 | } |
|
| 61 | } |
|
| 62 | ||
| 63 | private function ensureICanSeeBulkSearchBox() |
|
| 64 | { |
|