forked from baron/baron-sso
fix userfront e2e stability
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user