Given
I visit "http://localhost:3000/"
6s 34ms
And
I feature toggle "WEB_MODERNISATION" to "true"
52ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
25ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 16ms
When
I click on element
691ms
Then
"span" element with "text" "Calculators" should be visible
278ms
When
I click on element
659ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
24ms
When
I click on element
732ms
Then
I wait for 4 seconds
4s 17ms
Given
"button" element with "text" "Tobramycin"
21ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
750ms
Given
"button" element with "aria-label" "Male"
53ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
11ms
And
I click on element
678ms
Given
"input" element with "id" "abx-height"
90ms
When
I enter "185"
147ms
Given
"input" element with "id" "ag-weight"
29ms
When
I enter "75"
75ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
54ms
Given
"input" element with "id" "calc-creatinine"
28ms
When
I enter "110"
59ms
Then
I close the keyboard by clicking outside
264ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
20ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
733ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
53ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
621ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "420" should be visible
19ms