coronasafe/care_fe

View on GitHub
cypress/pageObject/Patients/PatientPrescription.ts

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function addMedication has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

addMedication(details: MedicationDetails) {
const { medicineName, dosage, frequency, instructions, notes } = details;
 
if (medicineName) {
cy.typeAndSelectOption(
Severity: Minor
Found in cypress/pageObject/Patients/PatientPrescription.ts - About 1 hr to fix
Category
Status