Given
I visit "http://localhost:3000/"
4s 757ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
221ms
Then
I scroll element into center view
1s 52ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
642ms
Then
"span" element with "text" "Calculators" should be visible
275ms
When
I click on element
608ms
And
I wait for 1 seconds
1s 2ms
And
I feature toggle "WEB_MODERNISATION" to "true"
28ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
643ms
Then
I wait for 4 seconds
4s 20ms
Given
"button" element with "text" "Tobramycin"
50ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
644ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
12ms
And
I click on element
621ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
77ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
59ms
Given
"input" element with "id" "ag-age"
24ms
When
I enter "50"
45ms
Given
"input" element with "id" "calc-creatinine"
26ms
When
I enter "110"
56ms
Then
I close the keyboard by clicking outside
268ms
And
I wait for 6 seconds
6s 9ms
When
I scroll down the window for 60px
27ms
Given
"button" element with "text" "Yes"
34ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
1s 999ms
And
I click on element
598ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
659ms
Given
"span" element with "text" "420"
44ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 15ms
Then
"span" element with "text" "420" should be visible
14ms