Given
I visit "http://localhost:3000/"
3s 768ms
And
I feature toggle "WEB_MODERNISATION" to "true"
25ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
44ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
771ms
Then
"span" element with "text" "Calculators" should be visible
257ms
When
I click on element
611ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
31ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
93ms
When
I click on element
799ms
Then
I wait for 4 seconds
4s 26ms
Given
"button" element with "text" "Tobramycin"
25ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
717ms
Given
"button" element with "aria-label" "Male"
67ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
14ms
And
I click on element
596ms
Given
"input" element with "id" "abx-height"
20ms
When
I enter "185"
145ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
52ms
Given
"input" element with "id" "ag-age"
44ms
When
I enter "50"
49ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
66ms
Then
I close the keyboard by clicking outside
283ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
28ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
601ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
48ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
631ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
36ms