Given
I visit "http://localhost:3000/"
4s 949ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
2s 86ms
Then
"span" element with "text" "Calculators" should be visible
253ms
When
I click on element
657ms
And
I wait for 1 seconds
1s 17ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 2 seconds
2s 14ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
86ms
When
I click on element
616ms
Then
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Tobramycin"
23ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
632ms
Given
"button" element with "aria-label" "Male"
46ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
26ms
And
I click on element
629ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
72ms
Given
"input" element with "id" "ag-weight"
31ms
When
I enter "75"
60ms
Given
"input" element with "id" "ag-age"
31ms
When
I enter "50"
151ms
Given
"input" element with "id" "calc-creatinine"
40ms
When
I enter "110"
136ms
Then
I close the keyboard by clicking outside
277ms
And
I wait for 6 seconds
6s 12ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
64ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
702ms
And
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Calculate"
31ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
626ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 22ms
Then
"span" element with "text" "420" should be visible
22ms