Given
I visit "http://localhost:3000/"
4s 972ms
And
I feature toggle "WEB_MODERNISATION" to "true"
21ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
50ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 16ms
When
I click on element
646ms
Then
"span" element with "text" "Calculators" should be visible
251ms
When
I click on element
669ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
19ms
When
I click on element
624ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
37ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
613ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 10ms
And
I scroll to element
12ms
And
I click on element
693ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
86ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
78ms
Given
"input" element with "id" "ag-age"
28ms
When
I enter "50"
57ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
66ms
Then
I close the keyboard by clicking outside
281ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
18ms
Given
"button" element with "text" "Yes"
119ms
Then
I scroll element into center view
1s 31ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
615ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
20ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
671ms
Given
"span" element with "text" "420"
41ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 5ms
Then
"span" element with "text" "420" should be visible
17ms