Given
I visit "http://localhost:3000/calculator"
2s 329ms
Given
"button" element with "text" "Weight-based"
958ms
When
I click on element
1s 35ms
And
I wait for 1 seconds
1s 23ms
Given
"button" element with "text" "Metrics"
40ms
When
I click on element
955ms
And
I wait for 1 seconds
1s 20ms
Given
"input" element with "id" "aidh-dose"
33ms
When
I enter "3"
111ms
And
I wait for 1 seconds
1s 11ms
Given
"input" element with "id" "aidh-weight"
26ms
When
I enter "80"
60ms
And
I wait for 1 seconds
1s 12ms
Given
"input" element with "id" "aidh-concentration"
38ms
When
I enter "0.4"
89ms
And
I wait for 1 seconds
1s 16ms
Given
"input" element with "id" "aidh-drug-amount"
35ms
When
I enter "200"
84ms
And
I wait for 1 seconds
1s 86ms
Given
"input" element with "id" "aidh-volume"
50ms
When
I enter "500"
98ms
And
I wait for 2 seconds
2s 54ms
Given
"button" element with "text" "Calculate"
129ms
When
I scroll to element
24ms
When
I click on element
1s 223ms
And
I wait for 3 seconds
3s 16ms
Then
"span" element with "text" "36" should be visible
38ms
Then
"span" element with "text" "mL/hour" should be visible
34ms
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
36ms