Given
I visit "http://localhost:3000/"
3s 631ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 4ms
Given
"button" element with "class" "size-12"
27ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
686ms
Then
"span" element with "text" "Calculators" should be visible
262ms
When
I click on element
807ms
And
I wait for 1 seconds
1s 15ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 13ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
652ms
Then
I wait for 4 seconds
4s 22ms
Given
"button" element with "text" "Tobramycin"
49ms
Then
I scroll element into center view
1s 28ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
630ms
Given
"button" element with "aria-label" "Male"
78ms
And
I wait for 1 seconds
1s 7ms
And
I scroll to element
14ms
And
I click on element
657ms
Given
"input" element with "id" "abx-height"
36ms
When
I enter "185"
177ms
Given
"input" element with "id" "ag-weight"
45ms
When
I enter "75"
103ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
113ms
Given
"input" element with "id" "calc-creatinine"
37ms
When
I enter "110"
80ms
Then
I close the keyboard by clicking outside
275ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
37ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
619ms
And
I wait for 4 seconds
4s 6ms
Given
"button" element with "text" "Calculate"
32ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
634ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s
Then
"span" element with "text" "420" should be visible
39ms