Given
I visit "http://localhost:3000/"
3s 910ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
36ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
668ms
Then
"span" element with "text" "Calculators" should be visible
303ms
When
I click on element
619ms
And
I wait for 1 seconds
1s 8ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 2 seconds
2s 9ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
28ms
When
I click on element
640ms
Then
I wait for 4 seconds
4s 17ms
Given
"button" element with "text" "Tobramycin"
109ms
Then
I scroll element into center view
1s 83ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
618ms
Given
"button" element with "aria-label" "Male"
19ms
And
I wait for 1 seconds
1s 15ms
And
I scroll to element
10ms
And
I click on element
659ms
Given
"input" element with "id" "abx-height"
40ms
When
I enter "185"
88ms
Given
"input" element with "id" "ag-weight"
25ms
When
I enter "75"
128ms
Given
"input" element with "id" "ag-age"
126ms
When
I enter "50"
113ms
Given
"input" element with "id" "calc-creatinine"
27ms
When
I enter "110"
145ms
Then
I close the keyboard by clicking outside
269ms
And
I wait for 6 seconds
6s 9ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
83ms
Then
I scroll element into center view
1s 28ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
603ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
20ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
647ms
Given
"span" element with "text" "420"
31ms
Then
I scroll element into center view
1s 25ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
22ms