Given
I visit "http://localhost:3000/"
3s 129ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 7ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
707ms
Then
"span" element with "text" "Calculators" should be visible
249ms
When
I click on element
677ms
And
I wait for 1 seconds
1s 7ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 10ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
657ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
48ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 20ms
When
I click on element
596ms
Given
"button" element with "aria-label" "Male"
20ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
10ms
And
I click on element
608ms
Given
"input" element with "id" "abx-height"
21ms
When
I enter "185"
90ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
66ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
55ms
Given
"input" element with "id" "calc-creatinine"
18ms
When
I enter "110"
50ms
Then
I close the keyboard by clicking outside
271ms
And
I wait for 6 seconds
6s 8ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
61ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
600ms
And
I wait for 4 seconds
4s 6ms
Given
"button" element with "text" "Calculate"
17ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
626ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 11ms
Then
"span" element with "text" "420" should be visible
22ms