(name: string)
| 173 | select.value = value; select.dispatchEvent(new Event('change', { bubbles: true })); |
| 174 | }); |
| 175 | const pickPath = (name: string) => act(async () => { |
| 176 | host.querySelector<HTMLDetailsElement>('.atlas-graph-path-picker')!.open = true; |
| 177 | [...host.querySelectorAll<HTMLButtonElement>('.atlas-graph-path-menu li button')] |
| 178 | .find(entry => entry.querySelector('strong')?.textContent === name)!.click(); |
| 179 | }); |
| 180 | |
| 181 | it('drops a path on a new scope key, so returning to the old key does not bring it back', async () => { |
| 182 | await act(async () => root.render(<GalaxyPanel project="sample" visible workspaceExpanded onOpenNode={vi.fn()} fetch={graphFetch()} />)); |
no outgoing calls
no test coverage detected