Given
I visit "http://localhost:3000/"
4s 216ms
And
I feature toggle "WEB_MODERNISATION" to "true"
53ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
781ms
Then
"span" element with "text" "Calculators" should be visible
289ms
When
I click on element
629ms
And
I wait for 1 seconds
1s 4ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 16ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
29ms
When
I click on element
683ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
24ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
630ms
Given
"button" element with "aria-label" "Male"
19ms
And
I wait for 1 seconds
1s 20ms
And
I scroll to element
11ms
And
I click on element
600ms
Given
"input" element with "id" "abx-height"
18ms
When
I enter "185"
76ms
Given
"input" element with "id" "ag-weight"
18ms
When
I enter "75"
51ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
42ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
49ms
Then
I close the keyboard by clicking outside
271ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
29ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
609ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
32ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
728ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 1ms
Then
"span" element with "text" "420" should be visible
45ms