Given
I visit "http://localhost:3000/"
4s 942ms
And
I feature toggle "WEB_MODERNISATION" to "true"
36ms
And
I wait for 1 seconds
1s 6ms
Given
"button" element with "class" "size-12"
30ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 27ms
When
I click on element
681ms
Then
"span" element with "text" "Calculators" should be visible
329ms
When
I click on element
682ms
And
I wait for 1 seconds
1s 11ms
And
I feature toggle "WEB_MODERNISATION" to "true"
18ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
711ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Tobramycin"
24ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
40ms
And
I wait for 1 seconds
1s 22ms
And
I scroll to element
14ms
And
I click on element
720ms
Given
"input" element with "id" "abx-height"
30ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
56ms
When
I enter "75"
145ms
Given
"input" element with "id" "ag-age"
79ms
When
I enter "50"
79ms
Given
"input" element with "id" "calc-creatinine"
50ms
When
I enter "110"
111ms
Then
I close the keyboard by clicking outside
268ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
641ms
And
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Calculate"
52ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 18ms
And
I click on element
663ms
Given
"span" element with "text" "420"
53ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "420" should be visible
22ms