Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Jan 18, 2024
1 parent cfbab95 commit 28e377d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zui-player/helpers/test-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export default class TestApp {
return this.locate(role, name).click({ button: 'right' });
}

async attached(role: Role | RegExp, name?: string) {
return this.locate(role, name).waitFor();
async attached(role: Role | RegExp, name?: string, timeout?: number) {
return this.locate(role, name).waitFor({ timeout: timeout });
}

async detached(role: Role | RegExp, name?: string) {
Expand Down

0 comments on commit 28e377d

Please sign in to comment.