Given
I visit "http://localhost:3000/"
7s 359ms
And
I feature toggle "WEB_MODERNISATION" to "true"
26ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
28ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
779ms
Then
"span" element with "text" "Calculators" should be visible
307ms
When
I click on element
876ms
And
I wait for 1 seconds
1s 2ms
And
I feature toggle "WEB_MODERNISATION" to "true"
33ms
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
658ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
70ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
613ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 5ms
And
I scroll to element
24ms
And
I click on element
809ms
Given
"input" element with "id" "abx-height"
51ms
When
I enter "185"
89ms
Given
"input" element with "id" "ag-weight"
33ms
When
I enter "75"
215ms
Given
"input" element with "id" "ag-age"
101ms
When
I enter "50"
422ms
Given
"input" element with "id" "calc-creatinine"
138ms
When
I enter "110"
296ms
Then
I close the keyboard by clicking outside
282ms
And
I wait for 6 seconds
6s 9ms
When
I scroll down the window for 60px
37ms
Given
"button" element with "text" "Yes"
78ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
616ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
32ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
615ms
Given
"span" element with "text" "420"
20ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
22ms