(size, query)
| 99 | await page.locator('#combo-input').focus(); |
| 100 | } |
| 101 | const comboMatches = (size, query) => [ |
| 102 | condition('#query', {text: query}), |
| 103 | condition('[role="option"]', { |
| 104 | count: Array.from({length: size}, (_, i) => String(i)).filter(i => i.includes(query)).length |
| 105 | }) |
| 106 | ]; |
| 107 | |
| 108 | // The first matches for `9` replace the first records, wherever they render. |
| 109 | const virtualMatches = () => [ |
no test coverage detected