Skip to content

Commit

Permalink
feat: change waitForBreakPoint timeout datatype
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Jelinek <[email protected]>
  • Loading branch information
djelinek committed Oct 3, 2024
1 parent b89ab51 commit bd40b6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class DebugToolbar extends AbstractElement {
/**
* Wait for the execution to pause at the next breakpoint
*/
async waitForBreakPoint(timeout = undefined): Promise<void> {
async waitForBreakPoint(timeout: number = 10_000): Promise<void> {
let btn = await this.getDriver().wait(until.elementLocated(DebugToolbar.locators.DebugToolbar.button('continue')));
await this.getDriver().wait(async () => {
try {
Expand Down

0 comments on commit bd40b6d

Please sign in to comment.