Given
I visit "http://localhost:3000/"
5s 382ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 15ms
Given
"button" element with "class" "size-12"
25ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
691ms
Then
"span" element with "text" "Calculators" should be visible
267ms
When
I click on element
623ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
33ms
And
I wait for 2 seconds
2s 1ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
27ms
When
I click on element
653ms
Then
I wait for 4 seconds
4s 29ms
Given
"button" element with "text" "Tobramycin"
28ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
25ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
16ms
And
I click on element
625ms
Given
"input" element with "id" "abx-height"
33ms
When
I enter "185"
92ms
Given
"input" element with "id" "ag-weight"
30ms
When
I enter "75"
90ms
Given
"input" element with "id" "ag-age"
45ms
When
I enter "50"
96ms
Given
"input" element with "id" "calc-creatinine"
88ms
When
I enter "110"
206ms
Then
I close the keyboard by clicking outside
294ms
And
I wait for 6 seconds
6s 9ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
37ms
Then
I scroll element into center view
1s 20ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
695ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 4ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
616ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
24ms