Given
I visit "http://localhost:3000/"
4s 234ms
And
I feature toggle "WEB_MODERNISATION" to "true"
92ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
32ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
740ms
Then
"span" element with "text" "Calculators" should be visible
276ms
When
I click on element
744ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
25ms
When
I click on element
627ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Tobramycin"
28ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 16ms
When
I click on element
610ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s 11ms
And
I scroll to element
26ms
And
I click on element
716ms
Given
"input" element with "id" "abx-height"
97ms
When
I enter "185"
181ms
Given
"input" element with "id" "ag-weight"
32ms
When
I enter "75"
125ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
53ms
Given
"input" element with "id" "calc-creatinine"
23ms
When
I enter "110"
63ms
Then
I close the keyboard by clicking outside
270ms
And
I wait for 6 seconds
6s 8ms
When
I scroll down the window for 60px
15ms
Given
"button" element with "text" "Yes"
35ms
Then
I scroll element into center view
1s 9ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
807ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 27ms
And
I click on element
632ms
Given
"span" element with "text" "420"
22ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 15ms
Then
"span" element with "text" "420" should be visible
15ms