Given
I visit "http://localhost:3000/"
4s 194ms
And
I feature toggle "WEB_MODERNISATION" to "true"
44ms
And
I wait for 1 seconds
1s 13ms
Given
"button" element with "class" "size-12"
35ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
642ms
Then
"span" element with "text" "Calculators" should be visible
237ms
When
I click on element
613ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
110ms
When
I click on element
673ms
Then
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Tobramycin"
24ms
Then
I scroll element into center view
1s 32ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
607ms
Given
"button" element with "aria-label" "Male"
25ms
And
I wait for 1 seconds
1s 17ms
And
I scroll to element
70ms
And
I click on element
629ms
Given
"input" element with "id" "abx-height"
73ms
When
I enter "185"
108ms
Given
"input" element with "id" "ag-weight"
32ms
When
I enter "75"
151ms
Given
"input" element with "id" "ag-age"
39ms
When
I enter "50"
66ms
Given
"input" element with "id" "calc-creatinine"
31ms
When
I enter "110"
66ms
Then
I close the keyboard by clicking outside
267ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
22ms
Given
"button" element with "text" "Yes"
27ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
632ms
And
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Calculate"
57ms
Then
I scroll element into center view
1s 34ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
640ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
18ms