Given
I visit "http://localhost:3000/"
5s 332ms
And
I feature toggle "WEB_MODERNISATION" to "true"
19ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
28ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
716ms
Then
"span" element with "text" "Calculators" should be visible
267ms
When
I click on element
638ms
And
I wait for 1 seconds
1s 14ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 11ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
38ms
When
I click on element
643ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
21ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
625ms
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
628ms
Given
"input" element with "id" "abx-height"
20ms
When
I enter "185"
96ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "75"
245ms
Given
"input" element with "id" "ag-age"
43ms
When
I enter "50"
71ms
Given
"input" element with "id" "calc-creatinine"
29ms
When
I enter "110"
70ms
Then
I close the keyboard by clicking outside
262ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 3ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
678ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
31ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
624ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
22ms