Given
I visit "http://localhost:3000/"
3s 543ms
And
I feature toggle "WEB_MODERNISATION" to "true"
18ms
And
I wait for 1 seconds
1s 10ms
Given
"button" element with "class" "size-12"
23ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
640ms
Then
"span" element with "text" "Calculators" should be visible
248ms
When
I click on element
624ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
177ms
When
I click on element
694ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
41ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 18ms
When
I click on element
608ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
25ms
And
I click on element
607ms
Given
"input" element with "id" "abx-height"
21ms
When
I enter "185"
68ms
Given
"input" element with "id" "ag-weight"
50ms
When
I enter "75"
79ms
Given
"input" element with "id" "ag-age"
42ms
When
I enter "50"
84ms
Given
"input" element with "id" "calc-creatinine"
30ms
When
I enter "110"
89ms
Then
I close the keyboard by clicking outside
272ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
13ms
Given
"button" element with "text" "Yes"
38ms
Then
I scroll element into center view
1s 7ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
629ms
And
I wait for 4 seconds
4s 6ms
Given
"button" element with "text" "Calculate"
25ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
623ms
Given
"span" element with "text" "420"
20ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
32ms