Given
I visit "http://localhost:3000/"
3s 755ms
And
I feature toggle "WEB_MODERNISATION" to "true"
16ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
31ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
743ms
Then
"span" element with "text" "Calculators" should be visible
293ms
When
I click on element
644ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
60ms
When
I click on element
686ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
35ms
Then
I scroll element into center view
1s 22ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
742ms
Given
"button" element with "aria-label" "Male"
61ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
12ms
And
I click on element
633ms
Given
"input" element with "id" "abx-height"
55ms
When
I enter "185"
99ms
Given
"input" element with "id" "ag-weight"
44ms
When
I enter "75"
130ms
Given
"input" element with "id" "ag-age"
67ms
When
I enter "50"
99ms
Given
"input" element with "id" "calc-creatinine"
43ms
When
I enter "110"
101ms
Then
I close the keyboard by clicking outside
264ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
18ms
Given
"button" element with "text" "Yes"
35ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
700ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
49ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
676ms
Given
"span" element with "text" "420"
31ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
35ms