Given
I visit "http://localhost:3000/calculator"
3s 300ms
Given
"button" element with "text" "Weight-based"
924ms
When
I click on element
1s 14ms
And
I wait for 1 seconds
1s 32ms
Given
"button" element with "text" "Metrics"
37ms
When
I click on element
969ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-dose"
33ms
When
I enter "3"
98ms
And
I wait for 1 seconds
1s 42ms
Given
"input" element with "id" "aidh-weight"
73ms
When
I enter "80"
69ms
And
I wait for 1 seconds
1s 32ms
Given
"input" element with "id" "aidh-concentration"
73ms
When
I enter "0.4"
177ms
And
I wait for 1 seconds
1s 51ms
Given
"input" element with "id" "aidh-drug-amount"
91ms
When
I enter "200"
135ms
And
I wait for 1 seconds
1s 41ms
Given
"input" element with "id" "aidh-volume"
95ms
When
I enter "500"
146ms
And
I wait for 2 seconds
2s 49ms
Given
"button" element with "text" "Calculate"
109ms
When
I scroll to element
36ms
When
I click on element
1s 44ms
And
I wait for 3 seconds
3s 49ms
Then
"span" element with "text" "36" should be visible
47ms
Then
"span" element with "text" "mL/hour" should be visible
82ms
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
50ms