Given
I visit "http://localhost:3000/"
4s 872ms
And
I feature toggle "WEB_MODERNISATION" to "true"
115ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
58ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
661ms
Then
"span" element with "text" "Calculators" should be visible
247ms
When
I click on element
669ms
And
I wait for 4 seconds
4s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
29ms
When
I click on element
630ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Amikacin"
22ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
633ms
Given
"button" element with "aria-label" "Male"
24ms
And
I wait for 1 seconds
1s
And
I scroll to element
15ms
And
I click on element
605ms
Given
"input" element with "id" "abx-height"
20ms
When
I enter "185"
80ms
Given
"input" element with "id" "ag-weight"
26ms
When
I enter "90"
66ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
51ms
Given
"input" element with "id" "calc-creatinine"
18ms
When
I enter "110"
50ms
And
I wait for 2 seconds
2s 2ms
Then
I close the keyboard by clicking outside
276ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
5ms
And
I wait for 2 seconds
2s 1ms
Given
"button" element with "text" "Yes"
20ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
10ms
And
I click on element
618ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
21ms
And
I wait for 1 seconds
1s 1ms
And
I click on element
605ms
Then
"span" element with "text" "2000" should be visible
21ms