Skip to content

Commit

Permalink
Revert "Fix check condition to avoid timeouts in invalid panels (#299)"
Browse files Browse the repository at this point in the history
This reverts commit eae4793.
  • Loading branch information
AgnesToulet committed Oct 3, 2023
1 parent 291b912 commit 99d4d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export class Browser {
}

const panelCount = document.querySelectorAll('.panel').length || document.querySelectorAll('.panel-container').length;
return (window as any).panelsRendered >= panelCount || (window as any).panelsRendered === undefined;
return (window as any).panelsRendered >= panelCount;
},
{
timeout: options.timeout * 1000,
Expand Down

0 comments on commit 99d4d6a

Please sign in to comment.