Given
I visit "http://localhost:3000/"
3s 223ms
And
I feature toggle "WEB_MODERNISATION" to "true"
25ms
And
I wait for 1 seconds
1s 13ms
Given
"button" element with "class" "size-12"
25ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
680ms
Then
"span" element with "text" "Calculators" should be visible
274ms
When
I click on element
623ms
And
I wait for 1 seconds
1s 14ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 12ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
24ms
When
I click on element
633ms
Then
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Tobramycin"
28ms
Then
I scroll element into center view
1s 25ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
665ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
9ms
And
I click on element
668ms
Given
"input" element with "id" "abx-height"
74ms
When
I enter "185"
229ms
Given
"input" element with "id" "ag-weight"
68ms
When
I enter "75"
114ms
Given
"input" element with "id" "ag-age"
33ms
When
I enter "50"
127ms
Given
"input" element with "id" "calc-creatinine"
27ms
When
I enter "110"
89ms
Then
I close the keyboard by clicking outside
289ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
72ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
615ms
And
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
22ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
614ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
19ms