(label: string)
| 49 | expect([...host.querySelectorAll('.atlas-galaxy-path-hop')].map(entry => entry.textContent)).toEqual(['hop 1', 'hop 2']); |
| 50 | expect(host.querySelector('[aria-current="step"]')?.textContent).toContain('test_jsonb_agg'); |
| 51 | const button = (label: string) => [...host.querySelectorAll('button')].find(entry => entry.textContent === label)!; |
| 52 | expect(button('Previous').disabled).toBe(true); |
| 53 | await act(async () => button('Next').click()); |
| 54 | expect(onStep).toHaveBeenLastCalledWith(1); |
no outgoing calls
no test coverage detected