Given
I visit "http://localhost:3000/"
4s 921ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 1 seconds
1s 10ms
Given
"button" element with "class" "size-12"
40ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
667ms
Then
"span" element with "text" "Calculators" should be visible
251ms
When
I click on element
634ms
And
I wait for 1 seconds
1s 7ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 14ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
99ms
When
I click on element
643ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
99ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
624ms
Given
"button" element with "aria-label" "Male"
24ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
31ms
And
I click on element
792ms
Given
"input" element with "id" "abx-height"
51ms
When
I enter "185"
167ms
Given
"input" element with "id" "ag-weight"
59ms
When
I enter "75"
137ms
Given
"input" element with "id" "ag-age"
93ms
When
I enter "50"
146ms
Given
"input" element with "id" "calc-creatinine"
27ms
When
I enter "110"
138ms
Then
I close the keyboard by clicking outside
268ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
22ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
688ms
And
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Calculate"
42ms
Then
I scroll element into center view
1s 76ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
736ms
Given
"span" element with "text" "420"
40ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
18ms