()
| 44 | } |
| 45 | |
| 46 | const sections = (): string[] => |
| 47 | [...container.querySelectorAll('[data-testid="atlas-help-section"]')] |
| 48 | .map((node) => node.getAttribute('data-section') ?? ''); |
| 49 | |
| 50 | const visibleText = (): string => |
| 51 | (container.querySelector('[data-testid="atlas-help"]') as HTMLElement | null)?.textContent ?? ''; |