Given
I visit "http://localhost:3000/"
4s 981ms
And
I feature toggle "WEB_MODERNISATION" to "true"
18ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
71ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s
When
I click on element
658ms
Then
"span" element with "text" "Calculators" should be visible
263ms
When
I click on element
640ms
And
I wait for 4 seconds
4s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 1ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
39ms
When
I click on element
718ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Amikacin"
25ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
600ms
Given
"button" element with "aria-label" "Male"
27ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
14ms
And
I click on element
620ms
Given
"input" element with "id" "abx-height"
24ms
When
I enter "185"
136ms
Given
"input" element with "id" "ag-weight"
58ms
When
I enter "90"
104ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
80ms
Given
"input" element with "id" "calc-creatinine"
32ms
When
I enter "110"
68ms
And
I wait for 2 seconds
2s
Then
I close the keyboard by clicking outside
252ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
8ms
And
I wait for 2 seconds
2s 1ms
Given
"button" element with "text" "Yes"
25ms
And
I wait for 1 seconds
1s
And
I scroll to element
12ms
And
I click on element
618ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
25ms
And
I wait for 1 seconds
1s
And
I click on element
620ms
Then
"span" element with "text" "2000" should be visible
24ms