Given
I visit "http://localhost:3000/calculator"
2s 962ms
Given
"button" element with "text" "Weight-based"
1s 130ms
When
I click on element
1s 86ms
And
I wait for 1 seconds
1s 91ms
Given
"button" element with "text" "Metrics"
69ms
When
I click on element
1s 92ms
And
I wait for 1 seconds
1s 39ms
Given
"input" element with "id" "aidh-dose"
74ms
When
I enter "3"
183ms
And
I wait for 1 seconds
1s 61ms
Given
"input" element with "id" "aidh-weight"
103ms
When
I enter "80"
116ms
And
I wait for 1 seconds
1s 15ms
Given
"input" element with "id" "aidh-concentration"
32ms
When
I enter "0.4"
139ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-drug-amount"
48ms
When
I enter "200"
115ms
And
I wait for 1 seconds
1s 27ms
Given
"input" element with "id" "aidh-volume"
42ms
When
I enter "500"
112ms
And
I wait for 2 seconds
2s 48ms
Given
"button" element with "text" "Calculate"
110ms
When
I scroll to element
51ms
When
I click on element
1s 274ms
And
I wait for 3 seconds
3s 59ms
Then
"span" element with "text" "36" should be visible
92ms
Then
"span" element with "text" "mL/hour" should be visible
39ms
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
60ms