Given
I visit "http://localhost:3000/"
4s 637ms
And
I feature toggle "WEB_MODERNISATION" to "true"
28ms
And
I wait for 1 seconds
1s 15ms
Given
"button" element with "class" "size-12"
24ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
934ms
Then
"span" element with "text" "Calculators" should be visible
134ms
When
I click on element
670ms
And
I wait for 1 seconds
1s 11ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
24ms
When
I click on element
693ms
Then
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Tobramycin"
36ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
618ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
11ms
And
I click on element
658ms
Given
"input" element with "id" "abx-height"
36ms
When
I enter "185"
70ms
Given
"input" element with "id" "ag-weight"
26ms
When
I enter "75"
56ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
61ms
Given
"input" element with "id" "calc-creatinine"
18ms
When
I enter "110"
62ms
Then
I close the keyboard by clicking outside
271ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
24ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
846ms
And
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Calculate"
211ms
Then
I scroll element into center view
1s 53ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
631ms
Given
"span" element with "text" "420"
28ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
15ms