Given
I visit "http://localhost:3000/calculator"
4s 545ms
Given
"button" element with "text" "Weight-based"
1s 397ms
When
I click on element
958ms
And
I wait for 1 seconds
1s 53ms
Given
"button" element with "text" "Metrics"
74ms
When
I click on element
1s 66ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-dose"
30ms
When
I enter "3"
76ms
And
I wait for 1 seconds
1s 42ms
Given
"input" element with "id" "aidh-weight"
64ms
When
I enter "80"
87ms
And
I wait for 1 seconds
1s 35ms
Given
"input" element with "id" "aidh-concentration"
68ms
When
I enter "0.4"
266ms
And
I wait for 1 seconds
1s 27ms
Given
"input" element with "id" "aidh-drug-amount"
40ms
When
I enter "200"
112ms
And
I wait for 1 seconds
1s 78ms
Given
"input" element with "id" "aidh-volume"
112ms
When
I enter "500"
278ms
And
I wait for 2 seconds
2s 52ms
Given
"button" element with "text" "Calculate"
68ms
When
I scroll to element
43ms
When
I click on element
1s 49ms
And
I wait for 3 seconds
3s 63ms
Then
"span" element with "text" "36" should be visible
75ms
Then
"span" element with "text" "mL/hour" should be visible
50ms
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
37ms