Given
I visit "http://localhost:3000/"
4s 852ms
And
I feature toggle "WEB_MODERNISATION" to "true"
45ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
31ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
1s 355ms
Then
"span" element with "text" "Calculators" should be visible
284ms
When
I click on element
637ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
24ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
110ms
When
I click on element
654ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
47ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
636ms
Given
"button" element with "aria-label" "Male"
25ms
And
I wait for 1 seconds
1s 14ms
And
I scroll to element
38ms
And
I click on element
641ms
Given
"input" element with "id" "abx-height"
29ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
46ms
When
I enter "75"
69ms
Given
"input" element with "id" "ag-age"
24ms
When
I enter "50"
80ms
Given
"input" element with "id" "calc-creatinine"
56ms
When
I enter "110"
108ms
Then
I close the keyboard by clicking outside
287ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
11ms
Given
"button" element with "text" "Yes"
35ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
614ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
26ms
Then
I scroll element into center view
1s 9ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
668ms
Given
"span" element with "text" "420"
22ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
68ms