Given
I visit "http://localhost:3000/"
4s 324ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 16ms
Given
"button" element with "class" "size-12"
21ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
633ms
Then
"span" element with "text" "Calculators" should be visible
241ms
When
I click on element
630ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 10ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
38ms
When
I click on element
632ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
18ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
606ms
Given
"button" element with "aria-label" "Male"
18ms
And
I wait for 1 seconds
1s 16ms
And
I scroll to element
14ms
And
I click on element
640ms
Given
"input" element with "id" "abx-height"
124ms
When
I enter "185"
252ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "75"
76ms
Given
"input" element with "id" "ag-age"
82ms
When
I enter "50"
107ms
Given
"input" element with "id" "calc-creatinine"
33ms
When
I enter "110"
84ms
Then
I close the keyboard by clicking outside
295ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
605ms
And
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Calculate"
19ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
613ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
13ms