feat: integrate real administration retry and approved feature destinations

This commit is contained in:
snowspeeder committed 2026-10-03 13:19:04 -04:00
1 parent fef3cb35a8
commit 2be5725fbd
4 files changed
+36 -7

No files matched your search

+8 -4
View File
@@ -58,10 +58,14 @@ def main():
if page.locator(selector).count() and page.locator(selector).is_visible():
page.locator(selector).click()
break
expect(page.locator('#voiceModeBtn')).to_be_visible(timeout=10000)
page.locator('#voiceModeBtn').click()
expect(page.locator('#startBtn')).to_be_enabled(timeout=10000)
page.locator('#startBtn').click()
# Approved composer action starts directly. Legacy releases require
# a second Start click; never double-start a direct voice session.
direct = page.evaluate('!!window.HopeVoice')
if not direct:
expect(page.locator('#voiceModeBtn')).to_be_visible(timeout=10000)
page.locator('#voiceModeBtn').click()
expect(page.locator('#startBtn')).to_be_enabled(timeout=10000)
page.locator('#startBtn').click()
deadline = time.monotonic() + args.timeout
while time.monotonic() < deadline:
status = page.locator('#status').inner_text()