Given
I visit "http://localhost:3000/"
4s 324ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
98ms
Then
I scroll element into center view
1s 25ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
638ms
Then
"span" element with "text" "Calculators" should be visible
238ms
When
I click on element
735ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
154ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
31ms
When
I click on element
665ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
59ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
674ms
Given
"button" element with "aria-label" "Male"
29ms
And
I wait for 1 seconds
1s 20ms
And
I scroll to element
13ms
And
I click on element
627ms
Given
"input" element with "id" "abx-height"
61ms
When
I enter "185"
152ms
Given
"input" element with "id" "ag-weight"
40ms
When
I enter "75"
128ms
Given
"input" element with "id" "ag-age"
44ms
When
I enter "50"
126ms
Given
"input" element with "id" "calc-creatinine"
48ms
When
I enter "110"
76ms
Then
I close the keyboard by clicking outside
281ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
26ms
Then
I scroll element into center view
1s 25ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
668ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
20ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
671ms
Given
"span" element with "text" "420"
47ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
31ms