(proxy: Region)
| 198 | }; |
| 199 | |
| 200 | const userSelectProxy = (proxy: Region): (() => Promise<void>) => { |
| 201 | return async (): Promise<void> => { |
| 202 | const user = userEvent.setup(); |
| 203 | const selectData = screen.getByTestId("userSelectProxyData"); |
| 204 | selectData.innerText = JSON.stringify(proxy); |
| 205 | |
| 206 | const selectProxyButton = screen.getByTestId("userSelectProxy"); |
| 207 | await user.click(selectProxyButton); |
| 208 | }; |
| 209 | }; |
| 210 | |
| 211 | it.each([ |
| 212 | [ |