1
0
forked from baron/baron-sso

fix userfront e2e stability

This commit is contained in:
2026-05-21 18:36:44 +09:00
parent 7c809fb478
commit 9fc6459636
2 changed files with 9 additions and 2 deletions

View File

@@ -152,7 +152,8 @@ function collectClientFailures(page: Page): string[] {
const text = message.text();
if (
message.type() === 'error' ||
/exception|verify_failed|verification failed|인증 실패/i.test(text)
(/exception|verify_failed|verification failed|인증 실패/i.test(text) &&
!text.includes('Exception while loading service worker'))
) {
failures.push(text);
}