Given
I visit "http://localhost:3000/"
4s 842ms
And
I feature toggle "WEB_MODERNISATION" to "true"
46ms
And
I wait for 1 seconds
1s 15ms
Given
"button" element with "class" "size-12"
73ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
2s 203ms
Then
"span" element with "text" "Calculators" should be visible
321ms
When
I click on element
702ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
21ms
When
I click on element
637ms
Then
I wait for 4 seconds
4s 18ms
Given
"button" element with "text" "Tobramycin"
23ms
Then
I scroll element into center view
1s 4ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
601ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 10ms
And
I scroll to element
11ms
And
I click on element
661ms
Given
"input" element with "id" "abx-height"
33ms
When
I enter "185"
92ms
Given
"input" element with "id" "ag-weight"
24ms
When
I enter "75"
127ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
90ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
85ms
Then
I close the keyboard by clicking outside
297ms
And
I wait for 6 seconds
6s 11ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
25ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 22ms
And
I click on element
638ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
53ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
642ms
Given
"span" element with "text" "420"
42ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 12ms
Then
"span" element with "text" "420" should be visible
60ms