Given
I visit "http://localhost:3000/"
4s 684ms
And
I feature toggle "WEB_MODERNISATION" to "true"
55ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
34ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
656ms
Then
"span" element with "text" "Calculators" should be visible
285ms
When
I click on element
627ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 1ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
125ms
When
I click on element
622ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
82ms
Then
I scroll element into center view
1s 47ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
27ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
14ms
And
I click on element
624ms
Given
"input" element with "id" "abx-height"
26ms
When
I enter "185"
152ms
Given
"input" element with "id" "ag-weight"
24ms
When
I enter "75"
57ms
Given
"input" element with "id" "ag-age"
19ms
When
I enter "50"
45ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
51ms
Then
I close the keyboard by clicking outside
264ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
857ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
59ms
Then
I scroll element into center view
1s 20ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
623ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 11ms
Then
"span" element with "text" "420" should be visible
20ms