Given
I visit "http://localhost:3000/calculator"
3s 111ms
Given
"button" element with "text" "Weight-based"
1s 830ms
When
I click on element
1s 144ms
And
I wait for 1 seconds
1s 39ms
Given
"button" element with "text" "Metrics"
50ms
When
I click on element
1s 30ms
And
I wait for 1 seconds
1s 61ms
Given
"input" element with "id" "aidh-dose"
90ms
When
I enter "3"
111ms
And
I wait for 1 seconds
1s 24ms
Given
"input" element with "id" "aidh-weight"
83ms
When
I enter "80"
105ms
And
I wait for 1 seconds
1s 44ms
Given
"input" element with "id" "aidh-concentration"
92ms
When
I enter "0.4"
97ms
And
I wait for 1 seconds
1s 32ms
Given
"input" element with "id" "aidh-drug-amount"
109ms
When
I enter "200"
102ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-volume"
65ms
When
I enter "500"
99ms
And
I wait for 2 seconds
2s 205ms
Given
"button" element with "text" "Calculate"
79ms
When
I scroll to element
41ms
When
I click on element
1s 169ms
And
I wait for 3 seconds
3s 41ms
Then
"span" element with "text" "36" should be visible
225ms
Then
"span" element with "text" "mL/hour" should be visible
140ms
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