Given
I visit "http://localhost:3000/calculator"
3s 265ms
Given
"button" element with "text" "Weight-based"
929ms
When
I click on element
1s 111ms
And
I wait for 1 seconds
1s 22ms
Given
"button" element with "text" "Metrics"
52ms
When
I click on element
971ms
And
I wait for 1 seconds
1s 46ms
Given
"input" element with "id" "aidh-dose"
100ms
When
I enter "3"
167ms
And
I wait for 1 seconds
1s 28ms
Given
"input" element with "id" "aidh-weight"
100ms
When
I enter "80"
106ms
And
I wait for 1 seconds
1s 49ms
Given
"input" element with "id" "aidh-concentration"
280ms
When
I enter "0.4"
188ms
And
I wait for 1 seconds
1s 54ms
Given
"input" element with "id" "aidh-drug-amount"
158ms
When
I enter "200"
221ms
And
I wait for 1 seconds
1s 53ms
Given
"input" element with "id" "aidh-volume"
120ms
When
I enter "500"
201ms
And
I wait for 2 seconds
2s 76ms
Given
"button" element with "text" "Calculate"
162ms
When
I scroll to element
108ms
When
I click on element
1s 261ms
And
I wait for 3 seconds
3s 39ms
Then
"span" element with "text" "36" should be visible
232ms
Then
"span" element with "text" "mL/hour" should be visible
106ms
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
80ms