Given
I visit "http://localhost:3000/calculator"
2s 902ms
Given
"button" element with "text" "Weight-based"
958ms
When
I click on element
1s 115ms
And
I wait for 1 seconds
1s 13ms
Given
"button" element with "text" "Metrics"
59ms
When
I click on element
957ms
And
I wait for 1 seconds
1s 10ms
Given
"input" element with "id" "aidh-dose"
52ms
When
I enter "3"
309ms
And
I wait for 1 seconds
1s 12ms
Given
"input" element with "id" "aidh-weight"
47ms
When
I enter "80"
64ms
And
I wait for 1 seconds
1s 53ms
Given
"input" element with "id" "aidh-concentration"
161ms
When
I enter "0.4"
163ms
And
I wait for 1 seconds
1s 40ms
Given
"input" element with "id" "aidh-drug-amount"
72ms
When
I enter "200"
154ms
And
I wait for 1 seconds
1s 28ms
Given
"input" element with "id" "aidh-volume"
161ms
When
I enter "500"
156ms
And
I wait for 2 seconds
2s 34ms
Given
"button" element with "text" "Calculate"
102ms
When
I scroll to element
39ms
When
I click on element
1s 334ms
And
I wait for 3 seconds
3s 26ms
Then
"span" element with "text" "36" should be visible
64ms
Then
"span" element with "text" "mL/hour" should be visible
59ms
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
72ms