From 83d71b2bec4ba95b19f61aca5c83f6ffaeb24962 Mon Sep 17 00:00:00 2001 From: pasindur2 Date: Thu, 18 Aug 2022 21:45:15 +0530 Subject: [PATCH] Minor fix --- .../refapp-3.x/11-medications/medications.js | 6 +++--- .../features/refapp-3.x/11-medications/medications.feature | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cypress/cypress/integration/cucumber/step_definitions/refapp-3.x/11-medications/medications.js b/packages/cypress/cypress/integration/cucumber/step_definitions/refapp-3.x/11-medications/medications.js index 81d83ee..3637a98 100644 --- a/packages/cypress/cypress/integration/cucumber/step_definitions/refapp-3.x/11-medications/medications.js +++ b/packages/cypress/cypress/integration/cucumber/step_definitions/refapp-3.x/11-medications/medications.js @@ -24,9 +24,9 @@ When("the user clicks on Orders tab", () => { cy.contains("Orders").click({ force: true }); }); -Then("the empty Orders page should display", () => { +Then("the empty orders page should display", () => { + cy.contains("Your basket is empty"); cy.contains("There are no active medications to display for this patient"); - cy.contains("There are no past medications to display for this patient"); }); -//TODO: Place drug orders +//TODO: Place drug orders (Still on development) diff --git a/packages/cypress/resources/features/refapp-3.x/11-medications/medications.feature b/packages/cypress/resources/features/refapp-3.x/11-medications/medications.feature index 6f5439f..4868cff 100644 --- a/packages/cypress/resources/features/refapp-3.x/11-medications/medications.feature +++ b/packages/cypress/resources/features/refapp-3.x/11-medications/medications.feature @@ -7,4 +7,4 @@ Feature: Medications @patient-medications Scenario: The user should be able view active and past medications When the user clicks on Orders tab - Then the empty Orders page should display + Then the empty orders page should display