Given
I visit "http://localhost:3000/"
1s 238ms
And
I feature toggle "WEB_MODERNISATION" to "true"
3s 136ms
And
I wait for 1 seconds
1s 4ms
Given
"button" element with "class" "size-12"
85ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
656ms
Then
"span" element with "text" "Calculators" should be visible
248ms
When
I click on element
620ms
And
I wait for 4 seconds
4s 2ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
694ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Amikacin"
20ms
Then
I scroll element into center view
1s 4ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
621ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s
And
I scroll to element
56ms
And
I click on element
633ms
Given
"input" element with "id" "abx-height"
27ms
When
I enter "185"
139ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "90"
75ms
Given
"input" element with "id" "ag-age"
46ms
When
I enter "50"
77ms
Given
"input" element with "id" "calc-creatinine"
31ms
When
I enter "110"
68ms
And
I wait for 2 seconds
2s
Then
I close the keyboard by clicking outside
247ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
7ms
And
I wait for 2 seconds
2s 1ms
Given
"button" element with "text" "Yes"
19ms
And
I wait for 1 seconds
1s
And
I scroll to element
12ms
And
I click on element
618ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
18ms
And
I wait for 1 seconds
1s 2ms
And
I click on element
625ms
Then
"span" element with "text" "2000" should be visible
20ms