Given
I visit "http://localhost:3000/"
3s 308ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
25ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
656ms
Then
"span" element with "text" "Calculators" should be visible
267ms
When
I click on element
672ms
And
I wait for 1 seconds
1s 12ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
34ms
When
I click on element
658ms
Then
I wait for 4 seconds
4s 23ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
625ms
Given
"button" element with "aria-label" "Male"
20ms
And
I wait for 1 seconds
1s 15ms
And
I scroll to element
17ms
And
I click on element
650ms
Given
"input" element with "id" "abx-height"
28ms
When
I enter "185"
72ms
Given
"input" element with "id" "ag-weight"
25ms
When
I enter "75"
88ms
Given
"input" element with "id" "ag-age"
27ms
When
I enter "50"
72ms
Given
"input" element with "id" "calc-creatinine"
37ms
When
I enter "110"
67ms
Then
I close the keyboard by clicking outside
296ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
16ms
Given
"button" element with "text" "Yes"
20ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
617ms
And
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Calculate"
31ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
652ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
16ms