Given
I visit "http://localhost:3000/"
4s 632ms
And
I feature toggle "WEB_MODERNISATION" to "true"
34ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
48ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
684ms
Then
"span" element with "text" "Calculators" should be visible
278ms
When
I click on element
612ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
39ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
655ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Tobramycin"
45ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
738ms
Given
"button" element with "aria-label" "Male"
40ms
And
I wait for 1 seconds
1s 3ms
And
I scroll to element
27ms
And
I click on element
649ms
Given
"input" element with "id" "abx-height"
37ms
When
I enter "185"
104ms
Given
"input" element with "id" "ag-weight"
31ms
When
I enter "75"
70ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
54ms
Given
"input" element with "id" "calc-creatinine"
22ms
When
I enter "110"
62ms
Then
I close the keyboard by clicking outside
269ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
53ms
Given
"button" element with "text" "Yes"
61ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
668ms
And
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
42ms
Then
I scroll element into center view
1s 38ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
621ms
Given
"span" element with "text" "420"
27ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
20ms