Given
I visit "http://localhost:3000/calculator"
2s 396ms
Given
"button" element with "text" "Weight-based"
1s 123ms
When
I click on element
1s 119ms
And
I wait for 1 seconds
1s 22ms
Given
"button" element with "text" "Metrics"
26ms
When
I click on element
947ms
And
I wait for 1 seconds
1s 15ms
Given
"input" element with "id" "aidh-dose"
65ms
When
I enter "3"
98ms
And
I wait for 1 seconds
1s 15ms
Given
"input" element with "id" "aidh-weight"
29ms
When
I enter "80"
67ms
And
I wait for 1 seconds
1s 48ms
Given
"input" element with "id" "aidh-concentration"
69ms
When
I enter "0.4"
143ms
And
I wait for 1 seconds
1s 57ms
Given
"input" element with "id" "aidh-drug-amount"
59ms
When
I enter "200"
137ms
And
I wait for 1 seconds
1s 97ms
Given
"input" element with "id" "aidh-volume"
79ms
When
I enter "500"
160ms
And
I wait for 2 seconds
2s 20ms
Given
"button" element with "text" "Calculate"
65ms
When
I scroll to element
55ms
When
I click on element
1s 395ms
And
I wait for 3 seconds
3s 61ms
Then
"span" element with "text" "36" should be visible
76ms
Then
"span" element with "text" "mL/hour" should be visible
68ms
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
52ms