Given
I visit "http://localhost:3000/calculator"
2s 922ms
Given
"button" element with "text" "Weight-based"
1s 11ms
When
I click on element
1s 266ms
And
I wait for 1 seconds
1s 34ms
Given
"button" element with "text" "Metrics"
281ms
When
I click on element
1s 67ms
And
I wait for 1 seconds
1s 15ms
Given
"input" element with "id" "aidh-dose"
120ms
When
I enter "3"
182ms
And
I wait for 1 seconds
1s 15ms
Given
"input" element with "id" "aidh-weight"
79ms
When
I enter "80"
156ms
And
I wait for 1 seconds
1s 63ms
Given
"input" element with "id" "aidh-concentration"
99ms
When
I enter "0.4"
130ms
And
I wait for 1 seconds
1s 66ms
Given
"input" element with "id" "aidh-drug-amount"
132ms
When
I enter "200"
213ms
And
I wait for 1 seconds
1s 34ms
Given
"input" element with "id" "aidh-volume"
85ms
When
I enter "500"
139ms
And
I wait for 2 seconds
2s 50ms
Given
"button" element with "text" "Calculate"
129ms
When
I scroll to element
73ms
When
I click on element
1s 212ms
And
I wait for 3 seconds
3s 57ms
Then
"span" element with "text" "36" should be visible
156ms
Then
"span" element with "text" "mL/hour" should be visible
90ms
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
91ms