(options = {})
| 1789 | } |
| 1790 | |
| 1791 | async function prepareStep8ContinueButton(options = {}) { |
| 1792 | const { |
| 1793 | findTimeoutMs = 10000, |
| 1794 | enabledTimeoutMs = 8000, |
| 1795 | } = options; |
| 1796 | |
| 1797 | const continueBtn = await findContinueButton(findTimeoutMs); |
| 1798 | await waitForButtonEnabled(continueBtn, enabledTimeoutMs); |
| 1799 | |
| 1800 | await humanPause(250, 700); |
| 1801 | continueBtn.scrollIntoView({ behavior: 'auto', block: 'center' }); |
| 1802 | continueBtn.focus(); |
| 1803 | await waitForStableButtonRect(continueBtn); |
| 1804 | return continueBtn; |
| 1805 | } |
| 1806 | |
| 1807 | async function findContinueButton(timeout = 10000) { |
| 1808 | const start = Date.now(); |
no test coverage detected