Given
I visit "http://localhost:3000/"
5s 213ms
And
I feature toggle "WEB_MODERNISATION" to "true"
20ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
51ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
856ms
Then
"span" element with "text" "Calculators" should be visible
287ms
When
I click on element
805ms
And
I wait for 1 seconds
1s 11ms
And
I feature toggle "WEB_MODERNISATION" to "true"
38ms
And
I wait for 2 seconds
2s 1ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
67ms
When
I click on element
748ms
Then
I wait for 4 seconds
4s 17ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 16ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
49ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
13ms
And
I click on element
644ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
109ms
Given
"input" element with "id" "ag-weight"
33ms
When
I enter "75"
68ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
60ms
Given
"input" element with "id" "calc-creatinine"
22ms
When
I enter "110"
60ms
Then
I close the keyboard by clicking outside
274ms
And
I wait for 6 seconds
6s 14ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 19ms
And
I click on element
770ms
And
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
625ms
Given
"span" element with "text" "420"
20ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 12ms
Then
"span" element with "text" "420" should be visible
60ms