Skip to content

Commit 85e1af4

Browse files
committed
Wait for lastNameInput visibility in fillClientForm
1 parent 8acf83a commit 85e1af4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playwright/pages/client.page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export class ClientPage extends BasePage {
180180
await this.firstNameInput.clear();
181181
await this.firstNameInput.fill(firstName);
182182

183+
await this.lastNameInput.waitFor({ state: 'visible', timeout: 10000 });
183184
await this.lastNameInput.clear();
184185
await this.lastNameInput.fill(lastName);
185186
}

0 commit comments

Comments
 (0)