Given
I visit "http://localhost:3000/calculator"
2s 956ms
Given
"button" element with "text" "Weight-based"
6s 434ms
When
I click on element
909ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "text" "Metrics"
43ms
When
I click on element
1s 131ms
And
I wait for 1 seconds
1s 39ms
Given
"input" element with "id" "aidh-dose"
92ms
When
I enter "3"
191ms
And
I wait for 1 seconds
1s 32ms
Given
"input" element with "id" "aidh-weight"
111ms
When
I enter "80"
92ms
And
I wait for 1 seconds
1s 50ms
Given
"input" element with "id" "aidh-concentration"
153ms
When
I enter "0.4"
148ms
And
I wait for 1 seconds
1s 122ms
Given
"input" element with "id" "aidh-drug-amount"
91ms
When
I enter "200"
112ms
And
I wait for 1 seconds
1s 56ms
Given
"input" element with "id" "aidh-volume"
109ms
When
I enter "500"
143ms
And
I wait for 2 seconds
2s 42ms
Given
"button" element with "text" "Calculate"
65ms
When
I scroll to element
42ms
When
I click on element
1s 127ms
And
I wait for 3 seconds
3s 62ms
Then
"span" element with "text" "36" should be visible
254ms
Then
"span" element with "text" "mL/hour" should be visible
185ms
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
72ms