Skip to content

Commit

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

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

0 comments on commit 8c3caf1

Please sign in to comment.