Given
I visit "http://localhost:3000/"
3s 900ms
And
I feature toggle "WEB_MODERNISATION" to "true"
22ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
28ms
Then
I scroll element into center view
1s 4ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
771ms
Then
"span" element with "text" "Calculators" should be visible
284ms
When
I click on element
757ms
And
I wait for 1 seconds
1s 7ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
84ms
When
I click on element
654ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
26ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
660ms
Given
"button" element with "aria-label" "Male"
19ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
16ms
And
I click on element
615ms
Given
"input" element with "id" "abx-height"
50ms
When
I enter "185"
68ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
51ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
48ms
Given
"input" element with "id" "calc-creatinine"
43ms
When
I enter "110"
51ms
Then
I close the keyboard by clicking outside
297ms
And
I wait for 6 seconds
6s 6ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
78ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
620ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
152ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
621ms
Given
"span" element with "text" "420"
27ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
24ms