Given
I visit "http://localhost:3000/calculator"
2s 717ms
Given
"button" element with "text" "Weight-based"
1s 906ms
When
I click on element
1s 172ms
And
I wait for 1 seconds
1s 21ms
Given
"button" element with "text" "Metrics"
52ms
When
I click on element
1s 16ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-dose"
58ms
When
I enter "3"
110ms
And
I wait for 1 seconds
1s 17ms
Given
"input" element with "id" "aidh-weight"
57ms
When
I enter "80"
80ms
And
I wait for 1 seconds
1s 38ms
Given
"input" element with "id" "aidh-concentration"
113ms
When
I enter "0.4"
107ms
And
I wait for 1 seconds
1s 20ms
Given
"input" element with "id" "aidh-drug-amount"
55ms
When
I enter "200"
94ms
And
I wait for 1 seconds
1s 35ms
Given
"input" element with "id" "aidh-volume"
137ms
When
I enter "500"
177ms
And
I wait for 2 seconds
2s 86ms
Given
"button" element with "text" "Calculate"
96ms
When
I scroll to element
61ms
When
I click on element
1s 226ms
And
I wait for 3 seconds
3s 41ms
Then
"span" element with "text" "36" should be visible
116ms
Then
"span" element with "text" "mL/hour" should be visible
133ms
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
143ms