Given
I visit "http://localhost:3000/calculator"
4s 957ms
Given
"button" element with "text" "Weight-based"
1s 218ms
When
I click on element
1s 194ms
And
I wait for 1 seconds
1s 191ms
Given
"button" element with "text" "Metrics"
81ms
When
I click on element
1s 90ms
And
I wait for 1 seconds
1s 59ms
Given
"input" element with "id" "aidh-dose"
89ms
When
I enter "3"
110ms
And
I wait for 1 seconds
1s 51ms
Given
"input" element with "id" "aidh-weight"
133ms
When
I enter "80"
184ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-concentration"
55ms
When
I enter "0.4"
70ms
And
I wait for 1 seconds
1s 16ms
Given
"input" element with "id" "aidh-drug-amount"
41ms
When
I enter "200"
72ms
And
I wait for 1 seconds
1s 27ms
Given
"input" element with "id" "aidh-volume"
95ms
When
I enter "500"
142ms
And
I wait for 2 seconds
2s 58ms
Given
"button" element with "text" "Calculate"
190ms
When
I scroll to element
81ms
When
I click on element
996ms
And
I wait for 3 seconds
3s 37ms
Then
"span" element with "text" "36" should be visible
75ms
Then
"span" element with "text" "mL/hour" should be visible
103ms
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
71ms