Given
I visit "http://localhost:3000/"
4s 635ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 1 seconds
1s 4ms
Given
"button" element with "class" "size-12"
24ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
688ms
Then
"span" element with "text" "Calculators" should be visible
338ms
When
I click on element
653ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
28ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
48ms
When
I click on element
610ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Tobramycin"
29ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
619ms
Given
"button" element with "aria-label" "Male"
26ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
14ms
And
I click on element
614ms
Given
"input" element with "id" "abx-height"
59ms
When
I enter "185"
85ms
Given
"input" element with "id" "ag-weight"
32ms
When
I enter "75"
113ms
Given
"input" element with "id" "ag-age"
34ms
When
I enter "50"
72ms
Given
"input" element with "id" "calc-creatinine"
35ms
When
I enter "110"
90ms
Then
I close the keyboard by clicking outside
257ms
And
I wait for 6 seconds
6s 6ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
809ms
And
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 18ms
And
I click on element
659ms
Given
"span" element with "text" "420"
59ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s
Then
"span" element with "text" "420" should be visible
31ms