Given
I visit "http://localhost:3000/"
3s 764ms
And
I feature toggle "WEB_MODERNISATION" to "true"
16ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
52ms
Then
I scroll element into center view
1s 47ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
705ms
Then
"span" element with "text" "Calculators" should be visible
266ms
When
I click on element
790ms
And
I wait for 1 seconds
1s 13ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 12ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
26ms
When
I click on element
691ms
Then
I wait for 4 seconds
4s 25ms
Given
"button" element with "text" "Tobramycin"
20ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
599ms
Given
"button" element with "aria-label" "Male"
18ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
12ms
And
I click on element
605ms
Given
"input" element with "id" "abx-height"
17ms
When
I enter "185"
99ms
Given
"input" element with "id" "ag-weight"
27ms
When
I enter "75"
116ms
Given
"input" element with "id" "ag-age"
27ms
When
I enter "50"
69ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
49ms
Then
I close the keyboard by clicking outside
283ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
41ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
679ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
25ms
Then
I scroll element into center view
1s 7ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
638ms
Given
"span" element with "text" "420"
40ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 5ms
Then
"span" element with "text" "420" should be visible
15ms