Given
I visit "http://localhost:3000/"
5s 110ms
And
I feature toggle "WEB_MODERNISATION" to "true"
195ms
And
I wait for 1 seconds
1s 4ms
Given
"button" element with "class" "size-12"
143ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
663ms
Then
"span" element with "text" "Calculators" should be visible
272ms
When
I click on element
626ms
And
I wait for 4 seconds
4s
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
25ms
When
I click on element
692ms
Then
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Amikacin"
20ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s
When
I click on element
628ms
Given
"button" element with "aria-label" "Male"
42ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
63ms
And
I click on element
612ms
Given
"input" element with "id" "abx-height"
24ms
When
I enter "185"
140ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "90"
81ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
63ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
59ms
And
I wait for 2 seconds
2s 2ms
Then
I close the keyboard by clicking outside
250ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
5ms
And
I wait for 2 seconds
2s 6ms
Given
"button" element with "text" "Yes"
19ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
10ms
And
I click on element
599ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
20ms
And
I wait for 1 seconds
1s
And
I click on element
627ms
Then
"span" element with "text" "2000" should be visible
28ms