Given
I visit "http://localhost:3000/"
4s 249ms
And
I feature toggle "WEB_MODERNISATION" to "true"
29ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
29ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
631ms
Then
"span" element with "text" "Calculators" should be visible
270ms
When
I click on element
682ms
And
I wait for 1 seconds
1s 11ms
And
I feature toggle "WEB_MODERNISATION" to "true"
29ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
803ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
32ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
674ms
Given
"button" element with "aria-label" "Male"
61ms
And
I wait for 1 seconds
1s 18ms
And
I scroll to element
18ms
And
I click on element
714ms
Given
"input" element with "id" "abx-height"
151ms
When
I enter "185"
276ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "75"
207ms
Given
"input" element with "id" "ag-age"
84ms
When
I enter "50"
82ms
Given
"input" element with "id" "calc-creatinine"
57ms
When
I enter "110"
157ms
Then
I close the keyboard by clicking outside
262ms
And
I wait for 6 seconds
6s 5ms
When
I scroll down the window for 60px
10ms
Given
"button" element with "text" "Yes"
75ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
1s 17ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
64ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
630ms
Given
"span" element with "text" "420"
23ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s
Then
"span" element with "text" "420" should be visible
42ms