Given
I visit "http://localhost:3000/"
4s 230ms
And
I feature toggle "WEB_MODERNISATION" to "true"
39ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
42ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
644ms
Then
"span" element with "text" "Calculators" should be visible
245ms
When
I click on element
616ms
And
I wait for 4 seconds
4s 15ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
707ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Amikacin"
25ms
Then
I scroll element into center view
1s 4ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
622ms
Given
"button" element with "aria-label" "Male"
25ms
And
I wait for 1 seconds
1s
And
I scroll to element
34ms
And
I click on element
619ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
73ms
Given
"input" element with "id" "ag-weight"
67ms
When
I enter "90"
92ms
Given
"input" element with "id" "ag-age"
24ms
When
I enter "50"
73ms
Given
"input" element with "id" "calc-creatinine"
43ms
When
I enter "110"
91ms
And
I wait for 2 seconds
2s 1ms
Then
I close the keyboard by clicking outside
253ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
7ms
And
I wait for 2 seconds
2s 6ms
Given
"button" element with "text" "Yes"
24ms
And
I wait for 1 seconds
1s
And
I scroll to element
10ms
And
I click on element
598ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
22ms
And
I wait for 1 seconds
1s 1ms
And
I click on element
600ms
Then
"span" element with "text" "2000" should be visible
19ms