Given
I visit "http://localhost:3000/"
2s 991ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 7ms
Given
"button" element with "class" "size-12"
23ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 19ms
When
I click on element
753ms
Then
"span" element with "text" "Calculators" should be visible
314ms
When
I click on element
709ms
And
I wait for 1 seconds
1s 23ms
And
I feature toggle "WEB_MODERNISATION" to "true"
68ms
And
I wait for 2 seconds
2s 10ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
63ms
When
I click on element
641ms
Then
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Tobramycin"
52ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
623ms
Given
"button" element with "aria-label" "Male"
26ms
And
I wait for 1 seconds
999ms
And
I scroll to element
10ms
And
I click on element
606ms
Given
"input" element with "id" "abx-height"
61ms
When
I enter "185"
67ms
Given
"input" element with "id" "ag-weight"
23ms
When
I enter "75"
50ms
Given
"input" element with "id" "ag-age"
19ms
When
I enter "50"
41ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
49ms
Then
I close the keyboard by clicking outside
263ms
And
I wait for 6 seconds
6s 12ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
588ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
78ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
664ms
Given
"span" element with "text" "420"
41ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
22ms