(candidate, selector)
| 335 | } |
| 336 | |
| 337 | function createStep9Entry(candidate, selector) { |
| 338 | const className = String(candidate?.className || '').replace(/\s+/g, ' ').trim(); |
| 339 | const errorVisualSignals = getStep9ErrorVisualSignals(candidate, className); |
| 340 | return { |
| 341 | element: candidate, |
| 342 | selector, |
| 343 | visible: isVisibleElement(candidate), |
| 344 | text: normalizeStep9StatusText(candidate?.textContent || ''), |
| 345 | className, |
| 346 | errorVisualSignals, |
| 347 | errorVisualSummary: errorVisualSignals.join(', '), |
| 348 | hasErrorVisualSignal: errorVisualSignals.length > 0, |
| 349 | }; |
| 350 | } |
| 351 | |
| 352 | function getStep9PageErrorSelectors() { |
| 353 | return [ |
no test coverage detected