Given
I visit "http://localhost:3000/"
4s 633ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
49ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
621ms
Then
"span" element with "text" "Calculators" should be visible
248ms
When
I click on element
676ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 14ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
21ms
When
I click on element
618ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Tobramycin"
75ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 22ms
When
I click on element
653ms
Given
"button" element with "aria-label" "Male"
57ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
79ms
And
I click on element
636ms
Given
"input" element with "id" "abx-height"
38ms
When
I enter "185"
107ms
Given
"input" element with "id" "ag-weight"
21ms
When
I enter "75"
89ms
Given
"input" element with "id" "ag-age"
27ms
When
I enter "50"
64ms
Given
"input" element with "id" "calc-creatinine"
40ms
When
I enter "110"
63ms
Then
I close the keyboard by clicking outside
265ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
32ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
698ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
28ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
622ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
19ms