Given
I visit "http://localhost:3000/"
8s 147ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 1ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
641ms
Then
"span" element with "text" "Calculators" should be visible
258ms
When
I click on element
613ms
And
I wait for 1 seconds
1s 1ms
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
18ms
When
I click on element
625ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
320ms
Then
I scroll element into center view
1s 36ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
18ms
And
I wait for 1 seconds
1s 14ms
And
I scroll to element
10ms
And
I click on element
606ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
61ms
Given
"input" element with "id" "ag-weight"
18ms
When
I enter "75"
58ms
Given
"input" element with "id" "ag-age"
23ms
When
I enter "50"
44ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
47ms
Then
I close the keyboard by clicking outside
259ms
And
I wait for 6 seconds
6s 6ms
When
I scroll down the window for 60px
13ms
Given
"button" element with "text" "Yes"
34ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
612ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
24ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
691ms
Given
"span" element with "text" "420"
122ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
18ms