Given
I visit "http://localhost:3000/"
3s 55ms
And
I feature toggle "WEB_MODERNISATION" to "true"
33ms
And
I wait for 1 seconds
1s 1ms
Given
"button" element with "class" "size-12"
54ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
656ms
Then
"span" element with "text" "Calculators" should be visible
282ms
When
I click on element
665ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 20ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
64ms
When
I click on element
803ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
47ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
629ms
Given
"button" element with "aria-label" "Male"
25ms
And
I wait for 1 seconds
1s 7ms
And
I scroll to element
14ms
And
I click on element
671ms
Given
"input" element with "id" "abx-height"
88ms
When
I enter "185"
159ms
Given
"input" element with "id" "ag-weight"
24ms
When
I enter "75"
71ms
Given
"input" element with "id" "ag-age"
96ms
When
I enter "50"
60ms
Given
"input" element with "id" "calc-creatinine"
31ms
When
I enter "110"
307ms
Then
I close the keyboard by clicking outside
262ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
47ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
879ms
And
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Calculate"
158ms
Then
I scroll element into center view
1s 84ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
632ms
Given
"span" element with "text" "420"
23ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
28ms