Given
I visit "http://localhost:3000/"
4s 572ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
77ms
Then
I scroll element into center view
1s 32ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
730ms
Then
"span" element with "text" "Calculators" should be visible
303ms
When
I click on element
745ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
18ms
And
I wait for 2 seconds
2s 13ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
21ms
When
I click on element
613ms
Then
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Tobramycin"
39ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
780ms
Given
"button" element with "aria-label" "Male"
93ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
14ms
And
I click on element
629ms
Given
"input" element with "id" "abx-height"
35ms
When
I enter "185"
69ms
Given
"input" element with "id" "ag-weight"
39ms
When
I enter "75"
83ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
48ms
Given
"input" element with "id" "calc-creatinine"
28ms
When
I enter "110"
69ms
Then
I close the keyboard by clicking outside
253ms
And
I wait for 6 seconds
6s 4ms
When
I scroll down the window for 60px
14ms
Given
"button" element with "text" "Yes"
22ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s
And
I click on element
633ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
26ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
668ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 12ms
Then
"span" element with "text" "420" should be visible
65ms