File tree 2 files changed +6
-7
lines changed
cypress/pageobject/Patient
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class PatientLogupdate {
63
63
}
64
64
65
65
typeSpo2 ( spo : string ) {
66
- cy . typeAndSelectOption ( "#ventilator_spo2" , spo ) ;
66
+ cy . get ( "#ventilator_spo2" ) . click ( ) . type ( spo ) ;
67
67
}
68
68
69
69
selectRhythm ( rhythm : string ) {
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ import request from "@/Utils/request/request";
59
59
import { formatDateTime } from "@/Utils/utils" ;
60
60
import { scrollTo } from "@/Utils/utils" ;
61
61
62
- import RangeAutocompleteFormField from "../Form/FormFields/RangeAutocompleteFormField" ;
63
62
import TextFormField from "../Form/FormFields/TextFormField" ;
64
63
65
64
export const DailyRounds = ( props : any ) => {
@@ -704,12 +703,12 @@ export const DailyRounds = (props: any) => {
704
703
] }
705
704
/>
706
705
707
- < RangeAutocompleteFormField
706
+ < TextFormField
708
707
{ ...field ( "ventilator_spo2" ) }
709
- unit = "%"
710
- start = { 0 }
711
- end = { 100 }
712
- step = { 1 }
708
+ labelSuffix = "%"
709
+ type = "number"
710
+ min = { 0 }
711
+ max = { 100 }
713
712
thresholds = { [
714
713
{
715
714
value : 0 ,
You can’t perform that action at this time.
0 commit comments