Given
I visit "http://localhost:3000/calculator"
2s 674ms
Given
"button" element with "text" "Weight-based"
2s 592ms
When
I click on element
960ms
And
I wait for 1 seconds
1s 37ms
Given
"button" element with "text" "Metrics"
33ms
When
I click on element
978ms
And
I wait for 1 seconds
1s 14ms
Given
"input" element with "id" "aidh-dose"
32ms
When
I enter "3"
83ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-weight"
32ms
When
I enter "80"
69ms
And
I wait for 1 seconds
1s 156ms
Given
"input" element with "id" "aidh-concentration"
130ms
When
I enter "0.4"
169ms
And
I wait for 1 seconds
1s 20ms
Given
"input" element with "id" "aidh-drug-amount"
47ms
When
I enter "200"
123ms
And
I wait for 1 seconds
1s 61ms
Given
"input" element with "id" "aidh-volume"
69ms
When
I enter "500"
361ms
And
I wait for 2 seconds
2s 63ms
Given
"button" element with "text" "Calculate"
69ms
When
I scroll to element
44ms
When
I click on element
1s 3ms
And
I wait for 3 seconds
3s 93ms
Then
"span" element with "text" "36" should be visible
66ms
Then
"span" element with "text" "mL/hour" should be visible
60ms
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
55ms