Skip to content

Commit 271a764

Browse files
committed
more changes to debug
1 parent 7423fe2 commit 271a764

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pages/RegistrationPage.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ export class RegistrationPage {
4242

4343
async navigateToRegistration() {
4444
console.log("Navigating to registration page:", this.registrationUrl);
45-
await this.page.goto(this.registrationUrl, { waitUntil: "networkidle" });
46-
await this.header.waitFor({ state: "visible", timeout: 2000 });
45+
await this.page.goto(this.registrationUrl);
46+
console.log(this.page.url());
47+
console.log("Waiting for registration page header to be visible");
48+
await this.header.waitFor({ state: "visible", timeout: 10000 });
4749
}
4850

4951
async fillRegistrationForm() {

0 commit comments

Comments
 (0)