Skip to content

Commit 583af2b

Browse files
Catch al_custom_error_screen errors
1 parent 318a7f5 commit 583af2b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/scope.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,6 +2673,8 @@ module.exports = {
26732673
// The below does not work if there's not a space between ':' and 'none'
26742674
simple_user_error: await scope.page.$$(`xpath/.//*[contains(@class, "da-has-error")][not(contains(@style,"display: none"))]`),
26752675
system_error: await scope.page.$$(`xpath/.//meta[@content="docassemble: Error"]` ),
2676+
// Hardcoding the `al_custom_error_action` screen (that's what the base64 here is). It hides actual errors and looks like a continue screen, but isn't.
2677+
al_custom_error: await scope.page.$$('.question-custom-error-action .daattributions #trigger[data-variable="YWxfY3VzdG9tX2Vycm9yX2FjdGlvbg"]'),
26762678
};
26772679

26782680
let error_handlers = {};

0 commit comments

Comments
 (0)