Given
I visit "http://localhost:3000/"
3s 484ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
29ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 19ms
When
I click on element
720ms
Then
"span" element with "text" "Calculators" should be visible
432ms
When
I click on element
608ms
And
I wait for 1 seconds
1s
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 14ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
18ms
When
I click on element
632ms
Then
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Tobramycin"
21ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
645ms
Given
"button" element with "aria-label" "Male"
40ms
And
I wait for 1 seconds
1s 3ms
And
I scroll to element
11ms
And
I click on element
622ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
115ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "75"
107ms
Given
"input" element with "id" "ag-age"
46ms
When
I enter "50"
227ms
Given
"input" element with "id" "calc-creatinine"
34ms
When
I enter "110"
93ms
Then
I close the keyboard by clicking outside
291ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
26ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
587ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
203ms
Then
I scroll element into center view
1s 25ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
655ms
Given
"span" element with "text" "420"
32ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
15ms