Given
I visit "http://localhost:3000/calculator"
3s 927ms
Given
"button" element with "text" "Weight-based"
4s 970ms
When
I click on element
1s 325ms
And
I wait for 1 seconds
1s 53ms
Given
"button" element with "text" "Metrics"
39ms
When
I click on element
1s 132ms
And
I wait for 1 seconds
1s 78ms
Given
"input" element with "id" "aidh-dose"
243ms
When
I enter "3"
193ms
And
I wait for 1 seconds
1s 71ms
Given
"input" element with "id" "aidh-weight"
193ms
When
I enter "80"
227ms
And
I wait for 1 seconds
1s 80ms
Given
"input" element with "id" "aidh-concentration"
169ms
When
I enter "0.4"
606ms
And
I wait for 1 seconds
1s 28ms
Given
"input" element with "id" "aidh-drug-amount"
90ms
When
I enter "200"
126ms
And
I wait for 1 seconds
1s 43ms
Given
"input" element with "id" "aidh-volume"
129ms
When
I enter "500"
141ms
And
I wait for 2 seconds
2s 95ms
Given
"button" element with "text" "Calculate"
210ms
When
I scroll to element
245ms
When
I click on element
1s 370ms
And
I wait for 3 seconds
3s 43ms
Then
"span" element with "text" "36" should be visible
137ms
Then
"span" element with "text" "mL/hour" should be visible
185ms
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
270ms