Skip to content

Commit

Permalink
Merge pull request #335 from MeasureAuthoringTool/MAT-Praveena-QA
Browse files Browse the repository at this point in the history
Fix for Regression failures
  • Loading branch information
cvasile001 authored Nov 28, 2023
2 parents 695e55a + e2dee60 commit 3c7d9bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ describe('Related To Attribute', () => {
cy.get(measureDetailsPage.patientEditBtn).click()
// Expand Encounter
testPatientPage.toggleDataElement(2)
// Verify the Encounter's data element is added
cy.get(testPatientPage.existingValues).should('contain.text', 'Related To: Medication, Administered: Tamoxifen or Aromatase Inhibitor Therapy Ingredient 07/27/2012 8:00 AM - 07/27/2012 8:15 AM')
// Verify the Encounter's data element is adde
cy.get(testPatientPage.existingValues).eq(2).should('not.be.null')
cy.log('Related To attribute with Medication added successfully')
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ describe('Import Patients', () => {
const measureFileToUpload = 'QDM56/CCDE - Lookback-v2-0-004-QDM-5-6.zip'
const patientJsonFile = 'QDM56/patients_4C668D33-C469-485E-90E3-F34164D0E62D_QDM_56_1633979173.json'

beforeEach('Login', () => {
before('Login', () => {
bonnieLogin.login()
})
afterEach('Log Out', () => {
after('Log Out', () => {
bonnieLogin.logout()
})

Expand All @@ -36,7 +36,6 @@ describe('Import Patients', () => {

// Verify error message on Importing zip file other than patient file
it('Verify error message on importing non patient file', () => {
bonnieUploadMeasure.UploadMeasureToBonnie(measureFileToUpload, false)
navigateToMeasureDetails(measureName)

// Import non patient file to a measure
Expand All @@ -51,7 +50,7 @@ describe('Import Patients', () => {

// Verify error message on Importing patient json file
it('Verify error message on importing json patient file', () => {
bonnieUploadMeasure.UploadMeasureToBonnie(measureFileToUpload, false)
cy.get('[class="nav-dashboard active"]').click()
navigateToMeasureDetails(measureName)

// import patient json file to a measure
Expand Down

0 comments on commit 3c7d9bd

Please sign in to comment.