Given
I visit "http://localhost:3000/calculator"
4s 335ms
Given
"button" element with "text" "Weight-based"
1s 537ms
When
I click on element
975ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "text" "Metrics"
29ms
When
I click on element
1s 83ms
And
I wait for 1 seconds
1s 42ms
Given
"input" element with "id" "aidh-dose"
62ms
When
I enter "3"
157ms
And
I wait for 1 seconds
1s 18ms
Given
"input" element with "id" "aidh-weight"
54ms
When
I enter "80"
120ms
And
I wait for 1 seconds
1s 31ms
Given
"input" element with "id" "aidh-concentration"
106ms
When
I enter "0.4"
174ms
And
I wait for 1 seconds
1s 51ms
Given
"input" element with "id" "aidh-drug-amount"
94ms
When
I enter "200"
177ms
And
I wait for 1 seconds
1s 29ms
Given
"input" element with "id" "aidh-volume"
52ms
When
I enter "500"
181ms
And
I wait for 2 seconds
2s 31ms
Given
"button" element with "text" "Calculate"
44ms
When
I scroll to element
55ms
When
I click on element
1s 101ms
And
I wait for 3 seconds
3s 40ms
Then
"span" element with "text" "36" should be visible
43ms
Then
"span" element with "text" "mL/hour" should be visible
41ms
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
48ms