Given
I visit "http://localhost:3000/calculator"
2s 137ms
Given
"button" element with "text" "Weight-based"
1s 35ms
When
I click on element
1s 82ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "text" "Metrics"
30ms
When
I click on element
1s 200ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-dose"
36ms
When
I enter "3"
82ms
And
I wait for 1 seconds
1s 10ms
Given
"input" element with "id" "aidh-weight"
43ms
When
I enter "80"
89ms
And
I wait for 1 seconds
1s 21ms
Given
"input" element with "id" "aidh-concentration"
108ms
When
I enter "0.4"
71ms
And
I wait for 1 seconds
1s 13ms
Given
"input" element with "id" "aidh-drug-amount"
29ms
When
I enter "200"
86ms
And
I wait for 1 seconds
1s 48ms
Given
"input" element with "id" "aidh-volume"
90ms
When
I enter "500"
136ms
And
I wait for 2 seconds
2s 242ms
Given
"button" element with "text" "Calculate"
269ms
When
I scroll to element
50ms
When
I click on element
1s 87ms
And
I wait for 3 seconds
3s 84ms
Then
"span" element with "text" "36" should be visible
115ms
Then
"span" element with "text" "mL/hour" should be visible
42ms
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
43ms