Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/source/browser/controllable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ abstract class ControllableBase {
} catch (e) {
this.log(`wait_and_click(i${i}):6:err(${String(e)}):${selector}`);
if (
e.message === 'Node is either not visible or not an HTMLElement' ||
e.message === 'Node is either not clickable or not an HTMLElement' ||
e.message === 'Node is detached from document'
['Node is either not visible or not an HTMLElement', 'Node is either not clickable or not an HTMLElement', 'Node is detached from document'].includes(
e.message
)
) {
// maybe the node just re-rendered?
if (!retryErrs || i === 3) {
Expand Down
6 changes: 5 additions & 1 deletion test/source/tests/page-recipe/oauth-page-recipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ export class OauthPageRecipe extends PageRecipe {
}
} catch (e) {
const eStr = String(e);
if (!eStr.includes('Execution context was destroyed') && !eStr.includes('Cannot find context with specified id')) {
if (
!eStr.includes('Execution context was destroyed') &&
!eStr.includes('Cannot find context with specified id') &&
!eStr.includes('Argument should belong to the same JavaScript world as target object')
) {
throw e; // not a known retriable error
}
// t.log(`Attempting to retry google auth:${action} on the same window for ${email} because: ${eStr}`);
Expand Down