Given
I visit "http://localhost:3000/calculator"
4s 351ms
Given
"button" element with "text" "Weight-based"
919ms
When
I click on element
938ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "text" "Metrics"
32ms
When
I click on element
1s 165ms
And
I wait for 1 seconds
1s 12ms
Given
"input" element with "id" "aidh-dose"
31ms
When
I enter "3"
80ms
And
I wait for 1 seconds
1s 28ms
Given
"input" element with "id" "aidh-weight"
84ms
When
I enter "80"
119ms
And
I wait for 1 seconds
1s 62ms
Given
"input" element with "id" "aidh-concentration"
84ms
When
I enter "0.4"
165ms
And
I wait for 1 seconds
1s 44ms
Given
"input" element with "id" "aidh-drug-amount"
112ms
When
I enter "200"
214ms
And
I wait for 1 seconds
1s 32ms
Given
"input" element with "id" "aidh-volume"
60ms
When
I enter "500"
220ms
And
I wait for 2 seconds
2s 19ms
Given
"button" element with "text" "Calculate"
43ms
When
I scroll to element
45ms
When
I click on element
1s 63ms
And
I wait for 3 seconds
3s 30ms
Then
"span" element with "text" "36" should be visible
49ms
Then
"span" element with "text" "mL/hour" should be visible
52ms
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
58ms