Given
I visit "http://localhost:3000/calculator"
2s 415ms
Given
"button" element with "text" "Weight-based"
1s 375ms
When
I click on element
1s 20ms
And
I wait for 1 seconds
1s 39ms
Given
"button" element with "text" "Metrics"
62ms
When
I click on element
1s 184ms
And
I wait for 1 seconds
1s 32ms
Given
"input" element with "id" "aidh-dose"
112ms
When
I enter "3"
147ms
And
I wait for 1 seconds
1s 72ms
Given
"input" element with "id" "aidh-weight"
101ms
When
I enter "80"
154ms
And
I wait for 1 seconds
1s 29ms
Given
"input" element with "id" "aidh-concentration"
54ms
When
I enter "0.4"
113ms
And
I wait for 1 seconds
1s 28ms
Given
"input" element with "id" "aidh-drug-amount"
97ms
When
I enter "200"
130ms
And
I wait for 1 seconds
1s 46ms
Given
"input" element with "id" "aidh-volume"
103ms
When
I enter "500"
102ms
And
I wait for 2 seconds
2s 50ms
Given
"button" element with "text" "Calculate"
70ms
When
I scroll to element
41ms
When
I click on element
1s 196ms
And
I wait for 3 seconds
3s 56ms
Then
"span" element with "text" "36" should be visible
145ms
Then
"span" element with "text" "mL/hour" should be visible
104ms
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
65ms