Given
I visit "http://localhost:3000/"
4s 596ms
And
I feature toggle "WEB_MODERNISATION" to "true"
48ms
And
I wait for 1 seconds
1s 10ms
Given
"button" element with "class" "size-12"
29ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
796ms
Then
"span" element with "text" "Calculators" should be visible
307ms
When
I click on element
667ms
And
I wait for 1 seconds
1s 13ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 13ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
50ms
When
I click on element
646ms
Then
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Tobramycin"
20ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
927ms
Given
"button" element with "aria-label" "Male"
155ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
14ms
And
I click on element
618ms
Given
"input" element with "id" "abx-height"
37ms
When
I enter "185"
71ms
Given
"input" element with "id" "ag-weight"
24ms
When
I enter "75"
94ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
60ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
94ms
Then
I close the keyboard by clicking outside
267ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
631ms
And
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Calculate"
33ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
635ms
Given
"span" element with "text" "420"
23ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 15ms
Then
"span" element with "text" "420" should be visible
56ms