diff --git a/bahmni-e2e-common-flows/tests/frontDesk/registration.js b/bahmni-e2e-common-flows/tests/frontDesk/registration.js index 3417892..f659c08 100644 --- a/bahmni-e2e-common-flows/tests/frontDesk/registration.js +++ b/bahmni-e2e-common-flows/tests/frontDesk/registration.js @@ -458,7 +458,7 @@ step("Get patient ID from patient dashboard", async function () { }); step("Click visit attributes link", async function () { - await click(link("Visit Attributes"), { waitForNavigation: true, navigationTimeout: process.env.actionTimeout }); + await click(link("Visit Attributes"), { waitForEvents: ['targetNavigated'] }); await waitFor(1000) await switchTo(/registration/); await closeTab(/clinical/);