Given
I visit "http://localhost:3000/"
4s 23ms
And
I feature toggle "WEB_MODERNISATION" to "true"
101ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
639ms
Then
"span" element with "text" "Calculators" should be visible
242ms
When
I click on element
742ms
And
I wait for 4 seconds
4s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 12ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
656ms
Then
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Amikacin"
34ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
632ms
Given
"button" element with "aria-label" "Male"
46ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
26ms
And
I click on element
643ms
Given
"input" element with "id" "abx-height"
37ms
When
I enter "185"
78ms
Given
"input" element with "id" "ag-weight"
23ms
When
I enter "90"
68ms
Given
"input" element with "id" "ag-age"
23ms
When
I enter "50"
53ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
55ms
And
I wait for 2 seconds
2s
Then
I close the keyboard by clicking outside
280ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
5ms
And
I wait for 2 seconds
2s 1ms
Given
"button" element with "text" "Yes"
40ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
11ms
And
I click on element
594ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
20ms
And
I wait for 1 seconds
1s 2ms
And
I click on element
620ms
Then
"span" element with "text" "2000" should be visible
20ms