Given
I visit "http://localhost:3000/"
3s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
27ms
And
I wait for 1 seconds
1s 7ms
Given
"button" element with "class" "size-12"
55ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
669ms
Then
"span" element with "text" "Calculators" should be visible
272ms
When
I click on element
637ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
22ms
When
I click on element
654ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
56ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
29ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
48ms
And
I click on element
648ms
Given
"input" element with "id" "abx-height"
20ms
When
I enter "185"
92ms
Given
"input" element with "id" "ag-weight"
25ms
When
I enter "75"
79ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
58ms
Given
"input" element with "id" "calc-creatinine"
47ms
When
I enter "110"
108ms
Then
I close the keyboard by clicking outside
274ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
11ms
Given
"button" element with "text" "Yes"
25ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
609ms
And
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Calculate"
24ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
612ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "420" should be visible
25ms