Skip to content

Commit

Permalink
Fix close visit navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
gokultw committed Oct 17, 2023
1 parent b2f0f9a commit bec7885
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bahmni-e2e-common-flows/tests/frontDesk/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,10 @@ step("Get patient ID from patient dashboard", async function () {
});

step("Click visit attributes link", async function () {
await click(link("Visit Attributes"), { waitForEvents: ['targetNavigated'] });
try { await click(link("Visit Attributes"), { waitForEvents: ['targetNavigated'] }); }
catch (e) {
console.log(e.message);
}
await waitFor(1000)
await switchTo(/registration/);
await closeTab(/clinical/);
Expand Down

0 comments on commit bec7885

Please sign in to comment.