Given
I visit "http://localhost:3000/calculator"
4s 808ms
Given
"button" element with "text" "Weight-based"
1s 177ms
When
I click on element
1s 46ms
And
I wait for 1 seconds
1s 20ms
Given
"button" element with "text" "Metrics"
63ms
When
I click on element
1s 385ms
And
I wait for 1 seconds
1s 44ms
Given
"input" element with "id" "aidh-dose"
143ms
When
I enter "3"
166ms
And
I wait for 1 seconds
1s 36ms
Given
"input" element with "id" "aidh-weight"
65ms
When
I enter "80"
131ms
And
I wait for 1 seconds
1s 70ms
Given
"input" element with "id" "aidh-concentration"
152ms
When
I enter "0.4"
258ms
And
I wait for 1 seconds
1s 106ms
Given
"input" element with "id" "aidh-drug-amount"
115ms
When
I enter "200"
183ms
And
I wait for 1 seconds
1s 92ms
Given
"input" element with "id" "aidh-volume"
136ms
When
I enter "500"
275ms
And
I wait for 2 seconds
2s 28ms
Given
"button" element with "text" "Calculate"
93ms
When
I scroll to element
57ms
When
I click on element
1s 233ms
And
I wait for 3 seconds
3s 64ms
Then
"span" element with "text" "36" should be visible
111ms
Then
"span" element with "text" "mL/hour" should be visible
98ms
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
134ms