Given
I visit "http://localhost:3000/"
3s 708ms
And
I feature toggle "WEB_MODERNISATION" to "true"
33ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
640ms
Then
"span" element with "text" "Calculators" should be visible
271ms
When
I click on element
675ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
44ms
When
I click on element
659ms
Then
I wait for 4 seconds
4s 24ms
Given
"button" element with "text" "Tobramycin"
30ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
606ms
Given
"button" element with "aria-label" "Male"
18ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
13ms
And
I click on element
633ms
Given
"input" element with "id" "abx-height"
44ms
When
I enter "185"
81ms
Given
"input" element with "id" "ag-weight"
27ms
When
I enter "75"
259ms
Given
"input" element with "id" "ag-age"
58ms
When
I enter "50"
123ms
Given
"input" element with "id" "calc-creatinine"
56ms
When
I enter "110"
91ms
Then
I close the keyboard by clicking outside
276ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
18ms
Given
"button" element with "text" "Yes"
58ms
Then
I scroll element into center view
1s 28ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
801ms
And
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Calculate"
23ms
Then
I scroll element into center view
1s 4ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
666ms
Given
"span" element with "text" "420"
63ms
Then
I scroll element into center view
1s 32ms
And
I wait for 1 seconds
1s 11ms
Then
"span" element with "text" "420" should be visible
73ms