Given
I visit "http://localhost:3000/"
4s 623ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 1 seconds
1s 6ms
Given
"button" element with "class" "size-12"
35ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
643ms
Then
"span" element with "text" "Calculators" should be visible
246ms
When
I click on element
660ms
And
I wait for 1 seconds
1s 15ms
And
I feature toggle "WEB_MODERNISATION" to "true"
19ms
And
I wait for 2 seconds
2s 17ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
120ms
When
I click on element
660ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
28ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
626ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 10ms
And
I scroll to element
13ms
And
I click on element
688ms
Given
"input" element with "id" "abx-height"
41ms
When
I enter "185"
110ms
Given
"input" element with "id" "ag-weight"
40ms
When
I enter "75"
95ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
67ms
Given
"input" element with "id" "calc-creatinine"
22ms
When
I enter "110"
64ms
Then
I close the keyboard by clicking outside
265ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
50ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
638ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
42ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
626ms
Given
"span" element with "text" "420"
30ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
17ms