Given
I visit "http://localhost:3000/"
4s 927ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 15ms
Given
"button" element with "class" "size-12"
26ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
672ms
Then
"span" element with "text" "Calculators" should be visible
350ms
When
I click on element
683ms
And
I wait for 1 seconds
1s 13ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
26ms
When
I click on element
648ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
18ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
729ms
Given
"button" element with "aria-label" "Male"
31ms
And
I wait for 1 seconds
1s 15ms
And
I scroll to element
9ms
And
I click on element
589ms
Given
"input" element with "id" "abx-height"
18ms
When
I enter "185"
70ms
Given
"input" element with "id" "ag-weight"
42ms
When
I enter "75"
62ms
Given
"input" element with "id" "ag-age"
17ms
When
I enter "50"
55ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
55ms
Then
I close the keyboard by clicking outside
254ms
And
I wait for 6 seconds
6s 12ms
When
I scroll down the window for 60px
24ms
Given
"button" element with "text" "Yes"
79ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
608ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
18ms
Then
I scroll element into center view
1s 9ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
626ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
40ms