Given
I visit "http://localhost:3000/"
4s 694ms
And
I feature toggle "WEB_MODERNISATION" to "true"
77ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "class" "size-12"
29ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
692ms
Then
"span" element with "text" "Calculators" should be visible
333ms
When
I click on element
674ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
70ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
645ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
615ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 14ms
And
I scroll to element
73ms
And
I click on element
628ms
Given
"input" element with "id" "abx-height"
30ms
When
I enter "185"
99ms
Given
"input" element with "id" "ag-weight"
39ms
When
I enter "75"
69ms
Given
"input" element with "id" "ag-age"
30ms
When
I enter "50"
74ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
59ms
Then
I close the keyboard by clicking outside
270ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
14ms
Given
"button" element with "text" "Yes"
60ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
613ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
35ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
653ms
Given
"span" element with "text" "420"
31ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
20ms