Given
I visit "http://localhost:3000/calculator"
4s 38ms
Given
"button" element with "text" "Weight-based"
5s 695ms
When
I click on element
1s 436ms
And
I wait for 1 seconds
1s 55ms
Given
"button" element with "text" "Metrics"
91ms
When
I click on element
975ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-dose"
59ms
When
I enter "3"
168ms
And
I wait for 1 seconds
1s 26ms
Given
"input" element with "id" "aidh-weight"
87ms
When
I enter "80"
132ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-concentration"
99ms
When
I enter "0.4"
131ms
And
I wait for 1 seconds
1s 25ms
Given
"input" element with "id" "aidh-drug-amount"
75ms
When
I enter "200"
298ms
And
I wait for 1 seconds
1s 34ms
Given
"input" element with "id" "aidh-volume"
111ms
When
I enter "500"
215ms
And
I wait for 2 seconds
2s 34ms
Given
"button" element with "text" "Calculate"
107ms
When
I scroll to element
73ms
When
I click on element
1s 157ms
And
I wait for 3 seconds
3s 26ms
Then
"span" element with "text" "36" should be visible
97ms
Then
"span" element with "text" "mL/hour" should be visible
91ms
Then
"div" element with "text" "This calculator does not replace clinical judgement. Consider the appropriateness of the calculated rate for the patient." should be visible
110ms