Given
I visit "http://localhost:3000/calculator"
3s 622ms
Given
"button" element with "text" "Weight-based"
806ms
When
I click on element
1s 62ms
And
I wait for 1 seconds
1s 24ms
Given
"button" element with "text" "Metrics"
109ms
When
I click on element
1s 156ms
And
I wait for 1 seconds
1s 74ms
Given
"input" element with "id" "aidh-dose"
185ms
When
I enter "3"
155ms
And
I wait for 1 seconds
1s 96ms
Given
"input" element with "id" "aidh-weight"
248ms
When
I enter "80"
137ms
And
I wait for 1 seconds
1s 39ms
Given
"input" element with "id" "aidh-concentration"
87ms
When
I enter "0.4"
106ms
And
I wait for 1 seconds
1s 52ms
Given
"input" element with "id" "aidh-drug-amount"
171ms
When
I enter "200"
162ms
And
I wait for 1 seconds
1s 77ms
Given
"input" element with "id" "aidh-volume"
191ms
When
I enter "500"
186ms
And
I wait for 2 seconds
2s 212ms
Given
"button" element with "text" "Calculate"
371ms
When
I scroll to element
128ms
When
I click on element
1s 512ms
And
I wait for 3 seconds
3s 47ms
Then
"span" element with "text" "36" should be visible
194ms
Then
"span" element with "text" "mL/hour" should be visible
135ms
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
105ms