Skip to content

Commit

Permalink
Update xpath for 'save button' on Edit vitals page (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud authored Mar 29, 2024
1 parent 8b37658 commit be02f68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class EditVitalsPage extends Page {
private static final By BLOOD_PRESSURE_FIELD_1 = By.id("w18");
private static final By BLOOD_PRESSURE_FIELD_2 = By.id("w20");
private static final By BLOOD_OXYGEN_SATURATION_FIELD = By.id("w22");
private static final By SAVE_CHANGES_BUTTON = By.xpath("//input[@type='button']");
private static final By SAVE_CHANGES_BUTTON = By.xpath("//input[@class='submitButton']");

public EditVitalsPage(Page page) {
super(page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public void crossCheckMaximumVitalsValidity() {
public void savePatientVitals() {
patientCaptureVitalsPage.confirm();
patientCaptureVitalsPage.save();
patientCaptureVitalsPage.waitForPage();
}

@Then("the system adds patient vitals into the vitals table")
Expand Down

0 comments on commit be02f68

Please sign in to comment.