Given
I visit "http://localhost:3000/calculator"
2s 731ms
Given
"button" element with "text" "Weight-based"
1s 23ms
When
I click on element
1s 229ms
And
I wait for 1 seconds
1s 150ms
Given
"button" element with "text" "Metrics"
251ms
When
I click on element
1s 11ms
And
I wait for 1 seconds
1s 35ms
Given
"input" element with "id" "aidh-dose"
121ms
When
I enter "3"
244ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-weight"
95ms
When
I enter "80"
111ms
And
I wait for 1 seconds
1s 17ms
Given
"input" element with "id" "aidh-concentration"
68ms
When
I enter "0.4"
151ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-drug-amount"
58ms
When
I enter "200"
90ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-volume"
47ms
When
I enter "500"
70ms
And
I wait for 2 seconds
2s 38ms
Given
"button" element with "text" "Calculate"
197ms
When
I scroll to element
92ms
When
I click on element
1s 165ms
And
I wait for 3 seconds
3s 50ms
Then
"span" element with "text" "36" should be visible
99ms
Then
"span" element with "text" "mL/hour" should be visible
66ms
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
57ms