Given
I visit "http://localhost:3000/"
4s 712ms
And
I feature toggle "WEB_MODERNISATION" to "true"
23ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
34ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
668ms
Then
"span" element with "text" "Calculators" should be visible
249ms
When
I click on element
622ms
And
I wait for 4 seconds
4s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 1ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
72ms
When
I click on element
616ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Amikacin"
27ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
650ms
Given
"button" element with "aria-label" "Male"
30ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
12ms
And
I click on element
601ms
Given
"input" element with "id" "abx-height"
18ms
When
I enter "185"
63ms
Given
"input" element with "id" "ag-weight"
17ms
When
I enter "90"
59ms
Given
"input" element with "id" "ag-age"
29ms
When
I enter "50"
45ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
76ms
And
I wait for 2 seconds
2s 1ms
Then
I close the keyboard by clicking outside
250ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
5ms
And
I wait for 2 seconds
2s 1ms
Given
"button" element with "text" "Yes"
20ms
And
I wait for 1 seconds
1s
And
I scroll to element
9ms
And
I click on element
598ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
20ms
And
I wait for 1 seconds
1s 1ms
And
I click on element
606ms
Then
"span" element with "text" "2000" should be visible
18ms