Given
I visit "http://localhost:3000/"
7s 687ms
And
I feature toggle "WEB_MODERNISATION" to "true"
64ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
30ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
653ms
Then
"span" element with "text" "Calculators" should be visible
252ms
When
I click on element
675ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
22ms
When
I click on element
685ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
149ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
615ms
Given
"button" element with "aria-label" "Male"
24ms
And
I wait for 1 seconds
1s 15ms
And
I scroll to element
17ms
And
I click on element
640ms
Given
"input" element with "id" "abx-height"
26ms
When
I enter "185"
137ms
Given
"input" element with "id" "ag-weight"
36ms
When
I enter "75"
68ms
Given
"input" element with "id" "ag-age"
28ms
When
I enter "50"
71ms
Given
"input" element with "id" "calc-creatinine"
29ms
When
I enter "110"
73ms
Then
I close the keyboard by clicking outside
263ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
22ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
630ms
And
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Calculate"
30ms
Then
I scroll element into center view
1s 24ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
639ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
23ms