Given
I visit "http://localhost:3000/"
4s 381ms
And
I feature toggle "WEB_MODERNISATION" to "true"
21ms
And
I wait for 1 seconds
1s 10ms
Given
"button" element with "class" "size-12"
40ms
Then
I scroll element into center view
1s 33ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
638ms
Then
"span" element with "text" "Calculators" should be visible
263ms
When
I click on element
658ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
48ms
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
994ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
35ms
Then
I scroll element into center view
1s 25ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
629ms
Given
"button" element with "aria-label" "Male"
20ms
And
I wait for 1 seconds
1s
And
I scroll to element
11ms
And
I click on element
615ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
74ms
Given
"input" element with "id" "ag-weight"
21ms
When
I enter "75"
59ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
49ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
56ms
Then
I close the keyboard by clicking outside
268ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
20ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
877ms
And
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Calculate"
25ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
654ms
Given
"span" element with "text" "420"
22ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
16ms