oportunidades 7
tests / ci (push) Waiting to run

This commit is contained in:
2026-10-13 11:40:29 +02:00
parent 20971d523f
commit 287e991486
2902 changed files with 1085456 additions and 25957 deletions
+9
View File
@@ -0,0 +1,9 @@
from pathlib import Path
ROOT=Path(__file__).resolve().parent.parent
for name in ['portal-stability-consumers-chromium.cjs','portal-stability-inspect-ui.cjs']:
file=ROOT/'tools'/name
text=file.read_text(encoding='utf-8')
before="await page.locator('input[name=\"code\"]').fill(otp(a.totp_secret??a.secret));"
after="await page.waitForTimeout(30500-(Date.now()%30000));"+before
assert text.count(before)==1
file.write_text(text.replace(before,after),encoding='utf-8')