Given
I visit "http://localhost:3000/calculator"
2s 412ms
Given
"button" element with "text" "Weight-based"
1s 111ms
When
I click on element
969ms
And
I wait for 1 seconds
1s 23ms
Given
"button" element with "text" "Metrics"
75ms
When
I click on element
1s 1ms
And
I wait for 1 seconds
1s 14ms
Given
"input" element with "id" "aidh-dose"
60ms
When
I enter "3"
152ms
And
I wait for 1 seconds
1s 21ms
Given
"input" element with "id" "aidh-weight"
66ms
When
I enter "80"
108ms
And
I wait for 1 seconds
1s 43ms
Given
"input" element with "id" "aidh-concentration"
156ms
When
I enter "0.4"
148ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-drug-amount"
48ms
When
I enter "200"
83ms
And
I wait for 1 seconds
1s 16ms
Given
"input" element with "id" "aidh-volume"
55ms
When
I enter "500"
93ms
And
I wait for 2 seconds
2s 31ms
Given
"button" element with "text" "Calculate"
85ms
When
I scroll to element
69ms
When
I click on element
1s 302ms
And
I wait for 3 seconds
3s 32ms
Then
"span" element with "text" "36" should be visible
143ms
Then
"span" element with "text" "mL/hour" should be visible
86ms
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
77ms